-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
97 lines (80 loc) · 2.54 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
# Project information: PyPI and pip
[project]
name = 'KDE-diffusion'
authors = [{name='John Hennig'}]
license = {file='license.txt'}
keywords = ['kernel density estimation', 'statistics']
classifiers = [
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Information Analysis',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
]
readme = 'PyPI.md'
dynamic = ['version', 'description']
requires-python = '>= 3.6'
dependencies = [
'NumPy',
'SciPy',
]
[project.optional-dependencies]
dev = [
'pyTest',
'pyTest-cov',
'coverage-badge',
'Flake8-pyproject',
'Sphinx',
'Furo',
'MyST-parser',
'Commonmark',
'Flit',
]
[project.urls]
Documentation = 'https://kde-diffusion.readthedocs.io'
Source = 'https://github.com/john-hen/kde-diffusion'
# Wheel builder: flit
[build-system]
requires = ['flit_core >= 2, < 4']
build-backend = 'flit_core.buildapi'
[tool.flit.module]
name = 'kde_diffusion'
# Code linter: Flake8
[tool.flake8]
exclude = [
'local',
'ignore',
]
ignore = [
'E127', # Continuation line over-indented for visual indent.
'E128', # Continuation line under-indented for visual indent.
'E201', # Whitespace after '('.
'E202', # Whitespace before ')'.
'E221', # Multiple spaces before operator.
'E222', # Multiple spaces after operator.
'E226', # Missing whitespace around arithmetic operator.
'E231', # Missing whitespace after ',', ';', or ':'.
'E241', # Multiple spaces after ','.
'E251', # Unexpected spaces around keyword / parameter equals.
'E261', # At least two spaces before inline comment.
'E271', # Multiple spaces after keyword.
'E272', # Multiple spaces before keyword.
'E402', # Module level import not at top of file.
'E741', # Ambiguous variable name 'l'.
'W503', # Line break occurred before a binary operator.
]
per-file-ignores = [
'__init__.py:F401', # Imported but unused.
]
# Test runner: pyTest
[tool.pytest.ini_options]
addopts = '--verbose'
testpaths = ['tests']
# Code coverage: Coverage.py
[tool.coverage.run]
source = ['kde_diffusion/']
relative_files = true
[tool.coverage.report]
exclude_lines = ['pragma: no cover']