-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpyproject.toml
89 lines (79 loc) · 2.11 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[tool.poetry]
name = "amortization"
version = "2.4.0"
repository = "https://github.com/roniemartinez/amortization"
description = "Python library for calculating amortizations and generating amortization schedules"
authors = ["Ronie Martinez <[email protected]>"]
license = "MIT"
readme = "README.md"
keywords = [
"amortization"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Topic :: Office/Business :: Financial :: Accounting",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
]
[tool.poetry.urls]
"Donate" = "https://www.buymeacoffee.com/roniemartinez"
[tool.poetry.scripts]
amortize = "amortization.amortize:main"
[tool.poetry.dependencies]
python = "^3.8"
tabulate = "^0.9.0"
[tool.poetry.dev-dependencies]
autoflake = "^1.7.8"
black = "^24.8"
isort = "^5.13.2"
mypy = "^1.14"
pyproject-flake8 = "^5.0.4"
pytest = "^8.3.4"
pytest-cov = "^5.0.0"
types-tabulate = "^0.9.0"
[tool.isort]
line_length = 120
multi_line_output = 3
force_grid_wrap = 0
use_parentheses = true
include_trailing_comma = true
ensure_newline_before_comments = true
atomic = true
[tool.black]
line-length = 120
target-version = ['py39']
include = '\.pyi?$'
extend-exclude = """
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
^/setup.py
"""
[tool.mypy]
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.flake8]
max-line-length = 120
extend-ignore = ["E203"]
extend-exclude = """
setup.py,
"""
[tool.pytest.ini_options]
addopts = """
--doctest-modules \
--cov=amortization \
--cov-report=term-missing \
--cov-report=xml \
--cov-report=html \
-vv \
-x \
"""
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"