-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
67 lines (55 loc) · 1.46 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
[tool.poetry]
name = "design-by-contract"
version = "0.3.1"
description = "Handy decorator to define contracts with dependency injection in Python 3.10 and above"
authors = ["Stefan Ulbrich"]
license = "MIT"
repository = "https://github.com/StefanUlbrich/design-by-contract"
readme = "Readme.md"
classifiers = [
"Topic :: Software Development :: Documentation",
"Topic :: Software Development :: Quality Assurance",
"Intended Audience :: Developers",
"Development Status :: 3 - Alpha"
]
include = ["license.txt"]
[tool.poetry.dependencies]
python = "^3.10"
[tool.poetry.dev-dependencies]
numpy = "^1.23.1"
pandas = "^1.4.0"
pylint = "^2.12.1,!=2.12.2"
black = "^21.12b0"
mypy = "0.971"
pytest = "^6.2.5"
ipykernel = "^6.9.1"
sphinx-book-theme = "^0.2.0"
myst-parser = "^0.17.0"
pre-commit = "^2.17.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
python_version = "3.10"
warn_unused_configs = true
namespace_packages = true
mypy_path = "src"
show_error_codes = true
strict = true
[tool.isort]
# https://pycqa.github.io/isort/docs/configuration/black_compatibility.html
profile = "black"
[[tool.mypy.overrides]]
module = "decorator.*"
ignore_missing_imports = true
[tool.black]
line-length = 120
target_version = ["py310"]
[tool.pylint.format]
max-line-length=120
[tool.pylint."MESSAGES CONTROL"]
disable = [
"missing-module-docstring"
]
[tool.pylint.basic]
good-names=['R','i','j','k','ex','Run','_']