-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
120 lines (106 loc) · 2.16 KB
/
Copy pathpyproject.toml
File metadata and controls
120 lines (106 loc) · 2.16 KB
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
[tool.poetry]
name = "muscad"
version = "0.10.0"
description = "MuSCAD"
authors = ["Guillaume Pujol <guill.p.linux@gmail.com>"]
license = "MIT"
readme = "README.rst"
homepage = "https://github.com/guillp/muscad"
repository = "https://github.com/guillp/muscad"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[tool.poetry.urls]
Changelog = "https://github.com/guillp/muscad/releases"
[tool.poetry.dependencies]
python = ">=3.8.1"
[tool.poetry.dev-dependencies]
pytest = ">=7"
coverage = {extras = ["toml"], version = ">=7"}
pytest-cov = ">=4"
mypy = ">=1.3"
pre-commit = ">=3"
[tool.coverage.paths]
source = ["src", "*/site-packages"]
[tool.coverage.run]
branch = true
source = ["muscad"]
[tool.mypy]
strict = true
pretty = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
implicit_reexport = true
disable_error_code = ["attr-defined"]
[tool.docformatter]
recursive = true
wrap-summaries = 120
wrap-descriptions = 120
blank = true
[tool.ruff]
target-version = "py38"
line-length = 120
[tool.ruff.lint]
select = [
"A",
"C4",
"D",
"DTZ",
"E",
"EM",
"ERA",
"F",
"FA",
"FBT",
"I",
"ICN",
"N",
"PGH",
"PLC",
"PLE",
"PLW",
"PTH",
"Q",
"RUF",
"SIM",
"T",
"TID",
"TRY",
"UP",
"W",
"YTT",
]
extend-ignore = [
"D100", "D101", "D102", "D103", "D104", "D105", "D107", "E402", "F403", "N802", "N803", "ERA001"
]
[tool.ruff.lint.pydocstyle]
convention = "google"
ignore-decorators = ['override']
[tool.ruff.lint.pylint]
max-args = 10
[tool.coverage.report]
show_missing = true
fail_under = 80
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"def main",
"...",
"assert False",
"pytest.skip",
"pass",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"