-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
81 lines (72 loc) · 1.74 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
[tool.poetry]
name = "cli_support"
version = "2.0.2"
description = "Support component license information (CLI) files"
authors = ["Thomas Graf <[email protected]>"]
license = "MIT"
readme="Readme.md"
include = ["LICENSE.md"]
repository = "https://github.com/sw360/clipython"
homepage = "https://github.com/sw360/clipython"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
]
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.group.dev.dependencies]
colorama = "^0.4.3"
flake8 = ">=3.9.2"
pytest = ">=7.2.0"
coverage = ">=6.5.0"
mypy = "^1.8.0"
isort = "^5.13.2"
types-colorama = "^0.4.15.12"
ruff = "^0.5.0"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.mypy]
exclude = [
'/tests',
]
show_error_codes = true
pretty = true
warn_unreachable = true
allow_redefinition = false
### Strict mode ###
warn_unused_configs = true
disallow_subclassing_any = true
disallow_any_generics = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
no_implicit_reexport = true
[tool.ruff]
line-length = 120
indent-width = 4
[tool.ruff.lint]
# select = ["ALL"] # too much!
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]