-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathsetup.cfg
70 lines (58 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
61
62
63
64
65
66
67
68
69
70
[metadata]
name = PyHDFS
description = Pure Python HDFS client
long_description = file: README.rst
url = https://github.com/jingw/pyhdfs
author = Jing Wang
author_email = [email protected]
license = MIT License
classifiers =
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Topic :: System :: Filesystems
[options]
install_requires =
requests
simplejson
python_requires = >=3.6
packages = pyhdfs
[options.package_data]
pyhdfs = py.typed
[egg_info]
tag_build = dev
[tool:pytest]
addopts = --random --tb=short --cov pyhdfs --cov test_pyhdfs --cov-report html --cov-report term --flake8
norecursedirs = env
python_files = test_*.py
flake8-max-line-length = 100
flake8-ignore =
doc/conf.py ALL
filterwarnings =
error
[mypy]
ignore_missing_imports = true
disallow_any_unimported = true
# disallow_any_expr = true
disallow_any_decorated = true
# disallow_any_explicit = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_return_any = true
warn_unreachable = true
strict_equality = true
show_error_codes = true
warn_unused_configs = true