-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
94 lines (83 loc) · 2.33 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
# inspired by
# https://github.com/pallets/flask/blob/master/setup.cfg
# https://github.com/pypa/sampleproject/blob/master/setup.py
[metadata]
# Pypi Metadata
name = sample_pck
version = attr: sample_pck.__version__
url = https://github.com/pypa/sampleproject
project_urls =
Source Code = https://github.com/pypa/sampleproject/
Bug Reports = https://github.com/pypa/sampleproject/issues
Donate = https://donate.pypi.org
license = BSD-3-Clause
author = Lukas Seppelfricke
author_email = data.puzzler@gmail.com
description = A Python Package Development Starter
long_description = file: README.md
long_description_content_type = text/markdown
classifiers =
Development Status :: 3 - Alpha
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python :: 3.9
Intended Audience :: Developers
Topic :: Software Development
keywords=package development template
[options]
packages = find:
package_dir = = src
include_package_data = true
python_requires = >= 3.9
# Dependencies are in setup.py for GitHub's dependency graph.
[options.packages.find]
where = src
[options.entry_points]
console_scripts =
sample_pck = sample_pck.entry_points:main
[tool:pytest]
testpaths = tests
filterwarnings =
error
[flake8]
# Code Linting config
# B = bugbear
# E = pycodestyle errors
# F = flake8 pyflakes
# W = pycodestyle warnings
# B9 = bugbear opinions
# ISC = implicit-str-concat
select = B, E, F, W, B9, ISC
ignore =
# slice notation whitespace, invalid
E203
# import at top, too many circular import fixes
E402
# line length, handled by bugbear B950
E501
# bare except, handled by bugbear B001
E722
# bin op line break, invalid
W503
# up to 88 allowed by bugbear B950
max-line-length = 80
[mypy]
files = src/sample_pck
python_version = 3.9
allow_redefinition = True
disallow_subclassing_any = True
# disallow_untyped_calls = True
# disallow_untyped_defs = True
# disallow_incomplete_defs = True
no_implicit_optional = True
local_partial_types = True
# no_implicit_reexport = True
strict_equality = True
warn_redundant_casts = True
warn_unused_configs = True
warn_unused_ignores = True
# warn_return_any = True
# warn_unreachable = True
[mypy-multilevel_py.*]
# ignore package import of largely untyped package `multilevel_py`
ignore_missing_imports = True