-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
76 lines (62 loc) · 1.67 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
# Project build file
[build-system]
requires = ['setuptools']
build-backend = 'setuptools.build_meta'
[project]
version = '1.3.0'
name = 'tol_colors'
authors = [
{name='Clément Haëck', email='[email protected]'}
]
description = 'Color schemes for lines and maps, color-blind safe'
readme = 'README.md'
requires-python = '>=3.9'
classifiers = [
'Programming Language :: Python :: 3',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Visualization'
]
dependencies = [
'numpy',
'matplotlib',
]
[project.urls]
'Source' = 'https://github.com/Descanonge/tol_colors'
[tool.mypy]
disable_error_code = ['annotation-unchecked']
ignore_missing_imports = true
[tool.ruff]
line-length = 88
target-version = 'py311'
[tool.ruff.lint]
select = [
'E', # pycodestyle
'W', # pycodestyle
'I', # isort
'N', # pep8-name
'B', # bugbear
'G', # flake8-logging-format
'F', # pyflakes
'UP', #pyupgrade
'D', #pydocstyle
'PL', #pylint
]
ignore = [
'E226', # missing whitespace around arithmetic operator
'D105', # missing docstring for magical method
'D204', # one blank line after class
'D213', # multiline docstring start at 2nd line
'D417', # not all parameters need doc
]
unfixable = ["F401"]
[tool.ruff.lint.per-file-ignores]
"src/tol_colors/__init__.py"= ["N802"]
[too.ruff.lint.pycodestyle]
max-line-length = 90
[tool.ruff.lint.pydocstyle]
convention = 'numpy'
[tool.ruff.format]
quote-style = 'double'