-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
95 lines (88 loc) · 1.84 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
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
addopts = "-rws --ignore=setup.py"
testpaths = [
"tests",
]
norecursedirs = [
"env",
".direnv",
"venv",
".env",
".venv",
"docs",
".eggs",
".git",
]
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
disallow_incomplete_defs = true
show_column_numbers = true
show_error_context = true
show_error_codes = true
check_untyped_defs = true
warn_unused_ignores = true
strict_optional = false
no_implicit_optional = true
warn_redundant_casts = true
[[tool.mypy.overrides]]
module = [
"networkx",
"pyparsing",
"parselglossy.types",
]
ignore_missing_imports = true
ignore_errors = true
[build-system]
requires = ["flit_core >=2,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.metadata]
module = "parselglossy"
license = "MIT"
author = "Roberto Di Remigio"
requires=[
"click",
"pyparsing~=3.0",
"pyyaml",
"networkx",
]
requires-python = "~=3.7"
description-file = "README.rst"
home-page = "https://parselglossy.readthedocs.io"
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
]
[tool.flit.metadata.requires-extra]
test = [
"codecov",
"coverage",
"hypothesis",
"pytest",
"pytest-cov",
"pytest-sugar",
]
dev = [
"black==22.3.0", # NOTE We pin black to avoid inconsistent formatting (and failing CI)
"flake8",
"isort",
"mypy",
"types-PyYAML",
]
doc = [
"sphinx",
"furo",
"sphinx-copybutton",
"sphinx-inline-tabs",
]
[tool.flit.scripts]
parselglossy = "parselglossy.cli:cli"