-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
83 lines (69 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "nautilus-namecodes"
version = "0.0.0"
description = "Nautilus Filename Specification (nautilus-namecodes)"
license = "AGPL-3.0-only"
authors = ["Cameron Garnham <cameron@nautilus-cyberneering.de>"]
maintainers = ["Cameron Garnham <cameron@nautilus-cyberneering.de>"]
readme = "README.md"
repository = "https://github.com/da2ce7/nautilus-filename_specification"
classifiers = [
"License :: OSI Approved :: GNU Affero General Public License v3",
"Development Status :: 1 - Planning",
"Natural Language :: English",
"Operating System :: POSIX",
"Programming Language :: Python :: 3.9",
]
packages = [
{ include = "nautilus_namecodes", from = "src" },
{ include = "snakemd", from = "contrib" }
]
[tool.poetry.scripts]
nautilus-namecodes = "nautilus_namecodes.main:app"
[tool.poetry.dependencies]
python = "^3.9"
# until poetry has full support for supports optional dependencies, we install tox here.
tox = "^4.0.0b1"
atoml = "^1.1.0"
typer = {version = "^0.4.0", extras = ["all"]}
pydantic = "~1.8.2"
[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
pytest-cov = "^3.0.0"
pytest-srcpaths = "^1.2.1"
black = "^22"
mypy = "^0.910"
pylint = "^2.11.1"
bandit = "^1.7.0"
isort = "^5.10.0"
Sphinx = "^4.2.0"
myst-parser = "^0.15.2"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
[tool.poetry-dynamic-versioning.substitution]
files = ["src/nautilus_namecodes/_version.py"]
patterns = ["(^__version__\\s*(?::\\s*str)?\\s*=\\s*['\"])[^'\"]*(['\"])"]
[tool.black]
extend-exclude = "/contrib/snakemd"
[tool.isort]
profile = "black"
multi_line_output = 3
extend_skip_glob = ["contrib/snakemd/generator.py"]
[tool.mypy]
exclude = '^.*contrib/snakemd.*\.py$|^docs/source/conf\.py$'
mypy_path = "src:contrib"
namespace_packages = true
explicit_package_bases = true
[[tool.mypy.overrides]]
module = "snakemd.*"
ignore_errors = true
[tool.bandit]
skips = ["B101"]
[tool.pylint.master]
ignore-paths="^.*contrib/snakemd.*py$"
[tool.pylint.FORMAT]
max-line-length=120