-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
125 lines (111 loc) · 2.61 KB
/
setup.cfg
File metadata and controls
125 lines (111 loc) · 2.61 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[metadata]
name = diffml
version = attr: diffml.__version__
author = DiogoRibeiro7
author_email = diogo.ribeiro@example.com
description = Differential Machine Learning for Quantitative Finance
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/DiogoRibeiro7/diffml
project_urls =
Bug Tracker = https://github.com/DiogoRibeiro7/diffml/issues
Documentation = https://diffml.readthedocs.io
Source Code = https://github.com/DiogoRibeiro7/diffml
classifiers =
Development Status :: 4 - Beta
Intended Audience :: Developers
Intended Audience :: Financial and Insurance Industry
Intended Audience :: Science/Research
Topic :: Scientific/Engineering :: Artificial Intelligence
Topic :: Office/Business :: Financial
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Operating System :: OS Independent
[options]
package_dir =
= src
packages = find:
python_requires = >=3.9
include_package_data = True
zip_safe = False
[options.packages.find]
where = src
[options.entry_points]
console_scripts =
diffml = diffml.cli:main
diffml-dashboard = diffml.dashboard_cli:main
[bdist_wheel]
universal = False
[egg_info]
tag_build =
tag_date = 0
[aliases]
test = pytest
[tool:pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts =
--verbose
--cov=diffml
--cov-report=html
--cov-report=term-missing
--cov-fail-under=80
[coverage:run]
source = diffml
omit =
*/tests/*
*/test_*.py
*/__init__.py
*/setup.py
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
if TYPE_CHECKING:
[mypy]
python_version = 3.9
warn_return_any = True
warn_unused_configs = True
disallow_untyped_defs = True
disallow_any_generics = True
check_untyped_defs = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_no_return = True
[mypy-tests.*]
ignore_errors = True
[isort]
profile = black
line_length = 88
known_first_party = diffml
skip_gitignore = True
[flake8]
max-line-length = 88
extend-ignore = E203, W503
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist
[black]
line-length = 88
target-version = ['py39', 'py310', 'py311']
include = '\.pyi?$'
extend-exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/'''