forked from StephaneBereux/basic-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
95 lines (81 loc) · 2.07 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "my_lib"
description = "Dummy Python library"
authors = [
{name = "François-Guillaume Fernandez", email = "[email protected]"}
]
readme = "README.md"
requires-python = ">=3.6,<4"
license = {file = "LICENSE"}
keywords = ["python", "hello world"]
classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering",
]
dynamic = ["version"]
dependencies = [
]
[project.optional-dependencies]
test = [
"pytest>=5.3.2",
"coverage[toml]>=4.5.4",
]
dev = [
# test
"pytest>=5.3.2",
"coverage[toml]>=4.5.4",
]
[project.urls]
repository = "https://github.com/quack-ai/basic-repo"
tracker = "https://github.com/quack-ai/basic-repo/issues"
[tool.setuptools]
zip-safe = true
[tool.setuptools.packages.find]
exclude = ["docs*", "scripts*", "tests*"]
[tool.mypy]
files = "my_lib/"
show_error_codes = true
pretty = true
warn_unused_ignores = true
warn_redundant_casts = true
no_implicit_optional = true
check_untyped_defs = true
implicit_reexport = false
[tool.isort]
line_length = 120
src_paths = ["my_lib", "tests", "scripts", ".github"]
skip_glob = "**/__init__.py"
known_third_party = []
[tool.pydocstyle]
select = "D300,D301,D417"
match = ".*\\.py"
[tool.coverage.run]
source = ["my_lib"]
[tool.black]
line-length = 120
target-version = ['py38']
[tool.autoflake]
remove-unused-variables = true
remove-all-unused-imports = true
ignore-init-module-imports = true
[tool.bandit]
exclude_dirs = [".github/collect_env.py"]
skips = ["B101"]
[tool.pylint.message_control]
max-line-length = 120
disable = [
"missing-docstring",
"wrong-import-order",
]