-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
140 lines (129 loc) · 2.62 KB
/
pyproject.toml
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[build-system]
requires = ['setuptools >= 61.0.0']
build-backend = 'setuptools.build_meta'
[project]
name = 'graphs'
version = '0.1.dev0'
description = 'graphs: Mixed edge graphs for networkx.'
readme = 'README.md'
license = {file = 'LICENSE'}
requires-python = '~=3.8'
maintainers = [
{name = 'Adam Li', email = '[email protected]'},
]
keywords = [
'machine-learning',
'graphs',
'networkx',
'causality',
]
classifiers = [
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
]
dependencies = [
'numpy >= 1.16.0',
'scipy >= 1.2.0',
'networkx >= 2.8.3',
'importlib-resources; python_version<"3.9"',
]
[project.optional-dependencies]
build = [
'build',
'twine',
]
doc = [
'memory_profiler',
'numpydoc',
'pydata-sphinx-theme',
'sphinx',
'sphinxcontrib-bibtex',
'sphinx-issues',
'sphinx-copybutton',
'sphinx-gallery',
'sphinx_rtd_theme',
'typing-extensions',
'pydot',
'pandas',
'matplotlib',
'graphviz',
'dowhy',
]
style = [
'black',
'codespell',
'isort',
'flake8',
'mypy',
'pydocstyle[toml]',
]
test = [
'pandas',
'pytest',
'pytest-cov',
]
all = [
'graphs[build]',
'graphs[doc]',
'graphs[style]',
'graphs[test]',
]
full = [
'graphs[all]',
]
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
(
__pycache__
| \.git
| \.mypy_cache
| \.pytest_cache
| \.vscode
| \.venv
| \bdist\b
| \bdoc\b
)
'''
[tool.isort]
profile = "black"
multi_line_output = 3
src_paths = ["graphs", "examples"]
[tool.pydocstyle]
convention = 'numpy'
ignore-decorators = '(copy_doc|property|.*setter|.*getter|pyqtSlot|Slot)'
match = '^(?!setup|__init__|test_).*\.py'
match-dir = '^graphs.*'
add_ignore = 'D100,D104,D107,D104'
[tool.pytest.ini_options]
minversion = '6.0'
addopts = '--durations 20 --junit-xml=junit-results.xml --verbose'
filterwarnings = []
[tool.coverage.run]
branch = true
cover_pylib = false
source = [
'graphs',
]
omit = [
'**/__init__.py',
'**/tests/**',
]
[tool.coverage.report]
exclude_lines = [
'pragma: no cover',
'if __name__ == .__main__.:',
]
precision = 2