-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
60 lines (56 loc) · 1.52 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
[metadata]
name = hashpipe
description = Regular expression match hasher
long_description = file:README.md
long_description_content_type = text/markdown
author = Ville Skyttä
author_email = [email protected]
url = https://github.com/scop/hashpipe
license = Apache License 2.0
license_files =
LICENSE
classifiers =
Development Status :: 4 - Beta
Intended Audience :: Developers
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python :: 3 :: Only
Typing :: Typed
project_urls =
Changelog = https://github.com/scop/hashpipe/blob/main/CHANGELOG.md
[options]
python_requires = >=3.5
setup_requires =
setuptools
packages = hashpipe
scripts = bin/hashpipe
[options.extras_require]
completion =
argcomplete
[options.package_data]
hashpipe =
py.typed
[aliases]
test = pytest
[mypy]
python_version = 3.5
strict = True
enable_error_code = ignore-without-code,redundant-self,truthy-iterable
disallow_any_unimported = True
#disallow_any_expr = True # too much for now
disallow_any_decorated = True
disallow_any_explicit = True
warn_unreachable = True
exclude = ^(build|venv)/
[mypy-argcomplete.*,nox.*,pytest.*,_pytest.*]
# variable annotations present, errors out with python_version < 3.6
follow_imports = skip
[mypy-noxfile]
# due to above
disallow_any_decorated = False
disallow_any_unimported = False
disallow_untyped_decorators = False
[coverage:report]
exclude_lines =
if __name__ == .__main__.: