-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
106 lines (95 loc) · 2.89 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
# https://gist.github.com/althonos/6914b896789d3f2078d1e6237642c35c
[metadata]
name = iocursor
version = attr: iocursor.__version__
author = Martin Larralde
author_email = martin.larralde@embl.de
home_page = https://github.com/althonos/iocursor
description = A zero-copy file-like wrapper for byte buffers, inspired by Rust's std::io::Cursor.
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
license_files = COPYING
platform = any
keywords = io, buffer, file-like, cursor
classifiers =
Development Status :: 4 - Beta
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: C
Programming Language :: Python
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: Implementation :: PyPy
Programming Language :: Python :: Implementation :: CPython
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Utilities
Typing :: Typed
project_urls =
Bug Tracker = https://github.com/althonos/iocursor/issues
Changelog = https://github.com/althonos/iocursor/blob/master/CHANGELOG.md
Coverage = https://codecov.io/gh/althonos/iocursor
Builds = https://github.com/althonos/iocursor/actions
[options]
zip_safe = false
include_package_data = true
python_requires = >=3.5
packages = iocursor
test_suite = tests
setup_requires =
setuptools >=46.4.0
[options.package_data]
iocursor = py.typed, *.pyi
[sdist]
formats = zip, gztar
[coverage:report]
show_missing = true
exclude_lines =
pragma: no cover
if False
@abc.abstractmethod
raise NotImplementedError
return NotImplemented
except ImportError
raise MemoryError
if typing.TYPE_CHECKING
[green]
file-pattern = test_*.py
verbose = 2
no-skip-report = true
quiet-stdout = true
run-coverage = true
[pydocstyle]
match-dir = (?!tests)(?!resources)(?!docs)[^\.].*
match = (?!test)(?!setup)[^\._].*\.py
inherit = false
ignore = D200, D203, D213, D406, D407 # Google conventions
[flake8]
max-line-length = 99
doctests = True
exclude = .git, .eggs, __pycache__, tests/, docs/, build/, dist/
[mypy]
disallow_any_decorated = true
disallow_any_generics = true
disallow_any_unimported = false
disallow_subclassing_any = false
disallow_untyped_calls = true
disallow_untyped_defs = true
ignore_missing_imports = true
warn_unused_ignores = true
warn_return_any = true
[tox:tox]
envlist = py{35,36,37,38,39}, pypy{36,37}
sitepackages = false
skip_missing_interpreters = true
requires =
setuptools >=46.4.0
[testenv]
commands = python -m coverage run -m unittest discover -vv