-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathsetup.cfg
79 lines (64 loc) · 1.62 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
[metadata]
name = PyHDFS
description = Pure Python HDFS client
long_description = file: README.rst
url = https://github.com/jingw/pyhdfs
author = Jing Wang
author_email = 99jingw@gmail.com
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
python_requires = >=3.9
packages = pyhdfs
[options.package_data]
pyhdfs = py.typed
[egg_info]
tag_build = dev
[tool:isort]
profile = black
case_sensitive = true
force_single_line = true
order_by_type = false
[tool:pytest]
addopts = --random --tb=short --cov pyhdfs --cov test_pyhdfs --cov-report html --cov-report term
norecursedirs = env
python_files = test_*.py
filterwarnings =
error
[flake8]
max-line-length = 100
# for black compatibility
extend-ignore = E203
[mypy]
exclude = ^env/$
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