/
pyproject.toml
141 lines (130 loc) · 2.8 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
[tool.poetry]
name = "py-golf-games"
version = "0.0.0"
description = "Simulation of golf games"
authors = ["Ryan <ryankanno@localkinegrinds.com>"]
maintainers = ["Ryan <ryankanno@localkinegrinds.com>"]
readme = "README.rst"
packages = [
{ include = "py_golf_games" },
]
include = [
{ path = "tests", format = "sdist" },
{ path = "LICENSE" }
]
repository = "https://github.com/ryankanno/py-golf-games"
keywords = ["golf"]
license = "MIT"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
]
[tool.poetry.dependencies]
python = "^3.8"
structlog = "^21.1.0"
[tool.poetry.dev-dependencies]
dunamai = "^1.15.0"
flake8 = "^4.0.1"
flake8-isort = "^4.1.2"
ipython = "^7.15.0"
isort = "^5.10.1"
konch = "^4.2.2"
mypy = "^0.971"
pdbpp = "^0.10.3"
pre-commit = "^2.20.0"
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
pytest-mock = "^3.10.0"
pytest-randomly = "^3.12.0"
pytest-xdist = "^2.5.0"
sphinx = "^3.0.4"
tox = "^3.27.1"
black = "^22.6.0"
hypothesis = "^6.60.0"
mutmut = "^2.2.0"
[tool.mypy]
python_version = "3.8"
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
follow_imports = "normal"
ignore_missing_imports = true
no_implicit_optional = true
no_implicit_reexport = false
show_error_codes = true
show_error_context = true
strict_equality = true
strict_optional = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = false
[tool.black]
line-length = 79
skip-string-normalization = true
target_version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.direnv
| \.eggs
| \.git
| \.hg
| \.mypy_cache
| \.nox
| \.tox
| \.venv
| venv
| \.svn
| _build
| buck-out
| build
| dist
| __pypackages__
| \{\{cookiecutter\.package_name\}\}\/tests
)/
)
'''
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q -n auto"
[tool.coverage.run]
parallel = true
branch = true
source = ["py_golf_games"]
omit = [
"*/python?.?/*",
"*/tests/*"
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise AssertionError",
"raise NotImplementedError",
"import",
]
show_missing = true
skip_covered = false
[tool.isort]
force_grid_wrap = 0
force_single_line = true
include_trailing_comma = true
lines_after_imports = 2
multi_line_output = 3
use_parentheses = true
known_third_party = []
default_section = "THIRDPARTY"
known_first_party = "py_golf_games"
sections = "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
[tool.vulture]
make_whitelist = true
min_confidence = 80
paths = ["py_golf_games", "tests"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"