-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
94 lines (75 loc) · 1.66 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
[project]
name = 'zmqbus'
authors = [
{name = 'Flavio Veloso Soares', email = 'flaviovs@magnux.com'}
]
license = {file = 'LICENSE.txt'}
classifiers = [
'License :: OSI Approved :: MIT License'
]
dynamic = ['version', 'description']
readme = 'README.md'
dependencies = ['pyzmq']
requires-python = '>=3.7'
[project.urls]
Home = 'https://github.com/flaviovs/zmqbus'
[project.optional-dependencies]
dev = [
'codespell',
'flake8-bugbear',
'flake8-builtins',
'flake8-docstrings',
'flake8-tidy-imports',
'flake8-walrus',
'flake8',
'flit',
'mypy',
'pylint',
'taskipy',
]
[build-system]
requires = ['flit_core >=3.2,<4']
build-backend = 'flit_core.buildapi'
[tool.flit.module]
name = 'zmqbus'
[tool.codespell]
skip = '*~,./.git,./.venv,./.mypy_cache'
[tool.taskipy.tasks]
spellcheck = 'codespell'
test = 'python -m unittest tests/test_*.py'
lint = 'flake8 && mypy && pylint src'
pre-commit = 'task spellcheck && task test && task lint'
[tool.mypy]
files = '.'
python_version = '3.7'
exclude = ['.git', '.venv']
strict = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
[tool.pylint.master]
ignore = ['.git', '.venv']
ignore-patterns = '^\.#'
load-plugins = [
'pylint.extensions.bad_builtin',
'pylint.extensions.check_elif',
'pylint.extensions.docparams',
'pylint.extensions.docstyle',
'pylint.extensions.overlapping_exceptions',
]
jobs = 0
[tool.pylint.basic]
good-names = [
'i',
'ex',
'fd',
'to',
]
[tool.pylint.messages_control]
disable = [
# docstring checks and formatting already done by flake8.
'missing-function-docstring',
'missing-module-docstring',
'missing-class-docstring',
'line-too-long',
]