-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
143 lines (130 loc) · 2.82 KB
/
setup.cfg
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
142
143
[metadata]
name = space_ranger
version = attr: space_ranger.__version__
author = kira607
author_email = kirill.lesckin@gmail.com
url = https://github.com/kira607/space-ranger
description = A simple game in which you play as a pilot of a spaceship and fight other ships.
long_description = file: README.md
long_description_content_type = text/markdown
classifiers =
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.12
[options]
zip_safe = false
include_package_data = true
python_requires = >=3.12
package_dir =
=src
packages = find:
test_suite = tests
setup_requires =
setuptools>=67.2.0
install_requires =
pygame
numpy
[options.package_data]
space_ranger = py.typed
[options.packages.find]
where = src
[options.extras_require]
dev =
# testing
pytest
pytest-mock
pytest-cov
# linting
flake8
flake8-annotations
flake8-broken-line
flake8-bugbear
flake8-builtins
flake8-comprehensions
flake8-docstrings
flake8-eradicate
flake8-isort
flake8-mutable
flake8-pep3101
flake8-plugin-utils
flake8-polyfill
flake8-print
flake8-quotes
flake8-return
flake8-simplify
flake8-use-fstring
# formatting
black>=23.9.1
isort
# mypy and stubs
mypy
# other
pep8-naming
tox
pre-commit
snakeviz
[bdist_wheel]
universal = true
[sdist]
formats = zip, gztar
[coverage:report]
show_missing = true
exclude_lines =
pragma: no cover
if False
# @abc.abstractmethod
# @abc.abstractproperty
# raise NotImplementedError
# return NotImplemented
# except ImportError
# raise MemoryError
# if __name__ == .__main__.:
# if typing.TYPE_CHECKING:
[green]
file-pattern = test_*.py
verbose = 2
no-skip-report = true
quiet-stdout = true
run-coverage = true
[flake8]
max-line-length = 120
doctests = True
per-file-ignores =
*__init__.py:F401
count = true
exclude =
.venv/,
build/,
dist/,
docs/,
.git,
.eggs,
__pycache__,
*.egg-info,
.gitignore,
README.md,
scratches/*
ignore =
# Missing type annotation for self in method
ANN101
# Missing type annotation for cls in classmethod
ANN102
# Missing type annotation for *args
ANN002
# Missing type annotation for **kwargs
ANN003
# you shouldn`t assign value to variable if it will be use only as return value
ANN401
R504
# Line break occurred before a binary operator
W503
# Missing docstring in public module
D100
# Use """triple double quotes"""
D300
# Missing docstring in __init__
D107
# Found commented out code
E800
inline-quotes = "
multiline-quotes = """
docstring-quotes = """