-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
111 lines (100 loc) · 2.52 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
target-version = ["py39", "py310"]
line-length = 100
[tool.coverage.run]
branch = true
include = [
"cuddle/*",
]
omit = [
"cuddle/grammar.py",
"tests/*",
"tasks.py",
]
[tool.coverage.report]
fail_under = 95
exclude_lines = [
"pragma: no cover",
"noqa",
"raise NotImplementedError",
"if TYPE_CHECKING:",
]
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 100
known_tests = "tests"
sections = "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,TESTS,LOCALFOLDER"
lines_after_imports = 2
lines_between_sections = 1
[tool.poetry]
name = "cuddle"
version = "1.0.6"
description = "A Python library for the KDL Document Language."
packages = [
{ include = "cuddle" },
]
readme = "README.md"
homepage = "https://github.com/djmattyg007/python-cuddle"
repository = "https://github.com/djmattyg007/python-cuddle"
authors = ["Matthew Gamble <[email protected]>"]
license = "MIT"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
include = [
{ path = "CHANGELOG.md", format = "sdist" },
{ path = "tasks.py", format = "sdist" },
{ path = "pytest.ini", format = "sdist" },
{ path = "tests", format = "sdist" },
{ path = "cuddle/grammar.tatsu" },
{ path = "cuddle/py.typed" },
]
[tool.poetry.dependencies]
python = "^3.9"
regex = "^2021.8.28"
tatsu = "^5.6.1"
[tool.poetry.dev-dependencies]
black = "^21.12b0"
flake8 = "^3.9.2"
flake8-annotations-complexity = "^0.0.6"
flake8-black = "^0.2.3"
flake8-breakpoint = "^1.1.0"
flake8-bugbear = "^21.9.1"
flake8-builtins = "^1.5.3"
flake8-comprehensions = "^3.6.1"
flake8-eradicate = "^1.1.0"
flake8-expression-complexity = "^0.0.9"
flake8-isort = "^4.0.0"
flake8-pytest-style = "^1.5.0"
flake8-requirements = "^1.5.1"
invoke = "^1.6.0"
isort = "^5.9.3"
mypy = "^0.910"
pep8-naming = "^0.12.1"
pytest = "^6.2.5"
pytest-cov = "^2.12.1"
[tool.poetry.urls]
"Source" = "https://github.com/djmattyg007/python-cuddle"
"Issues" = "https://github.com/djmattyg007/python-cuddle/issues"
[tool.mypy]
check_untyped_defs = true
strict_equality = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = [
"regex",
"tatsu",
"tatsu.*",
]
ignore_missing_imports = true