-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (47 loc) · 1.09 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (47 loc) · 1.09 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
[build-system]
requires = ["setuptools>=65", "wheel", "setuptools_scm>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "<package>/_version.py"
[project]
name = "<package>"
version = "0.0.1"
dependencies = [
"click"
]
[tool.setuptools.packages.find]
include = ["<package>"]
[project.scripts]
main = "<package>.main:main"
[project.optional-dependencies]
dev = ["black", "flake8", "pre-commit", "pytest", "pytest-order", "build", "tox"]
[tool.bandit]
exclude_dirs = ["dist", "doc"]
[tool.bandit.assert_used]
skips = ['*_test.py', '*/test_*.py']
[tool.black]
line-length = 88
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
envlist = py313
[testenv]
deps = pytest > 4
commands = pytest
"""
[tool.isort] # https://github.com/timothycrosley/isort/wiki/isort-Settings#full-reference-of-isort-settings
# https://github.com/PyCQA/isort/wiki/isort-Settings
profile = "black"
[tool.coverage.run]
omit = [
"env/*",
]
[tool.mypy]
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = "tests.*"
ignore_errors = true
[tool.pytest.ini_options]
testpaths = [
]