-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
91 lines (82 loc) · 2.25 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
# https://gist.github.com/althonos/6914b896789d3f2078d1e6237642c35c
[metadata]
name = onenutil
version = file: src/_version.txt
author = LemurPwned
url = https://github.com/LemurPwned/onenote-utils
description = Note search and indexing
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
platform = any
keywords = onenote python search
classifiers =
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Topic :: Software Development :: Libraries :: Python Modules
project_urls =
Bug Tracker = https://github.com/LemurPwned/onenote-utils/issues
[options]
package_dir =
= src
packages = find:
python_requires = >=3.6
zip_safe = true
include_package_data = true
setup_requires =
setuptools
# setuptools >=30.3.0 # minimal version for `setup.cfg`
# setuptools >=38.3.0 # version with most `setup.cfg` bugfixes
# setuptools >=46.4.0 # let's you use attr: to extract version from a module
# install_requires =
# {install_requires}
# tests_require =
# {tests_require}
[options.packages.find]
where = src
[options.package_data]
{name} = py.typed, _version.txt, *.pyi
[bdist_wheel]
universal = true
[sdist]
formats = zip, gztar
[coverage:report]
show_missing = true
exclude_lines =
pragma: no cover
if False
# @abc.abstractmethod
# @abc.abstractproperty
# raise NotImplementedError
# return NotImplemented
# except ImportError
# raise MemoryError
# if __name__ == .__main__.:
# 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