-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
75 lines (57 loc) · 1.63 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
# Project information: PyPI and Pip
[project]
name = 'Flake8-pyproject'
authors = [{name='John Hennig'}]
license = {file='license.txt'}
keywords = ['Flake8', 'pyproject.toml']
classifiers = [
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Topic :: Software Development :: Quality Assurance',
'Intended Audience :: Developers',
'Environment :: Console',
'Framework :: Flake8',
'License :: OSI Approved :: MIT License',
]
readme = 'PyPI.md'
dynamic = ['version', 'description']
requires-python = '>= 3.6'
dependencies = [
'Flake8 >= 5',
'TOMLi; python_version < "3.11"',
'TOMLi < 2; python_version < "3.7"',
]
[project.optional-dependencies]
dev = [
'pyTest',
'pyTest-cov',
]
[project.scripts]
flake8p = 'flake8p:main'
[project.entry-points.'flake8.report']
Flake8-pyproject = 'flake8p:Plugin'
[project.urls]
Source = 'https://github.com/john-hen/Flake8-pyproject'
# Wheel builder: Flit
[build-system]
requires = ['flit_core >= 3.4']
build-backend = 'flit_core.buildapi'
[tool.flit.module]
name = 'flake8p'
# Code linter: Flake8
[tool.flake8]
exclude = ['tests/fixtures', 'local', 'ignore']
ignore = [
'E221', # Multiple spaces before operator.
'E226', # Missing whitespace around arithmetic operator.
]
per-file-ignores = [
'__init__.py:F401', # Module imported but unused.
]
# Test runner: pyTest
[tool.pytest.ini_options]
addopts = '--verbose'
testpaths = ['tests']
# Code coverage: Coverage.py
[tool.coverage.run]
source = ['flake8p']