This repository has been archived by the owner on Aug 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
132 lines (109 loc) · 3.02 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[tool.poetry]
name = "pyflint"
version = "0.1.0"
description = "Python implementation of FLINT algorithm for relaxation data."
authors = ["Raquel Serial <raquelserial@gmail.com>"]
readme = "README.md"
homepage = "https://github.com/rserial/pyflint"
repository = "https://github.com/rserial/pyflint"
documentation = "https://pyflint.readthedocs.io"
keywords = ["pyflint"]
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/rserial/pyflint/issues"
[tool.poetry.dependencies]
python = "<3.12,>=3.8"
matplotlib = "^3.7.1"
numpy = ">=1.22"
plotly = "^5.14.1"
scipy = "^1.10.1"
nbformat = "^5.8.0"
invoke = "^2.2.0"
[tool.poetry.dev-dependencies]
pre-commit = "^3.1.1"
invoke = "^2.0.0"
flake8 = ">=4.0.1,<5.0.0"
flakeheaven = "^3.2.1"
flake8-builtins = "^2.1.0"
flake8-blind-except = "^0.2.1"
flake8-logging-format = "^0.9.0"
flake8-bugbear = "^23.2.13"
flake8-annotations = "^2.9.1"
flake8-docstrings = "^1.7.0"
flake8-bandit = "^3.0.0"
flake8-broken-line = "^0.6.0"
darglint = "^1.8.1"
isort = "^5.12.0"
black = "^23.1.0"
safety = "^2.4.0b1"
mypy = "^1.0.1"
sphinx = "^7.1.2"
recommonmark = "^0.7.1"
bump2version = "^1.0.1"
pytest = "^7.2.2"
xdoctest = "^1.1.1"
coverage = {version = "^7.2.1", extras = ["toml"]}
pytest-cov = "^3.0.0"
watchdog = {version = "^2.3.1", extras = ["watchmedo"]}
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.22.0"
[tool.coverage.paths]
source = ["src", "*/site-packages"]
[tool.coverage.run]
branch = true
source = ["pyflint"]
[tool.coverage.report]
fail_under = 0
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug",
"if settings.DEBUG:",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == __main__:"
]
show_missing = true
[tool.coverage.html]
directory = "htmlcov"
[tool.flakeheaven]
format = "grouped"
max_line_length = 99
exclude = ["demo_1d_syntetic_data.ipynb", "demo_1d_data.ipynb", "demo_2d_data.ipynb"]
show_source = true
docstring-convention = "google"
extended_default_ignore = []
[tool.flakeheaven.plugins]
pyflakes = ["+*"]
pycodestyle = ["+*", "-W503"]
mccabe = ["+*"]
flake8-annotations = ["+*", "-ANN1??", "-ANN401"]
flake8-docstrings = ["+*", "-D212"]
"flake8-*" = ["+*"]
pylint = ["-C????", "-E????", "+F????", "+I????", "-R????", "-W????"]
[tool.flakeheaven.exceptions."tests/"]
flake8-bandit = ["-S101"]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 99
known_third_party = ["invoke", "nox", "nox_poetry"]
[tool.black]
line-length = 99
target-version = ["py37"]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"