-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
93 lines (80 loc) · 1.91 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
[project]
name = 'mundane'
description = 'A small library for handling mundane things.'
license = {file = 'LICENSE'}
keywords = ['argparse', 'logging', 'cli']
classifiers = [
'Programming Language :: Python :: 3',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: POSIX',
]
authors = [
{name = 'Mike Castle', email = 'dalgoda@gmail.com'},
]
dependencies = [
'humanize>=4.4.0',
'platformdirs',
'psutil>=2.0.0',
]
dynamic = ['version']
[project.urls]
Repository = 'https://github.com/nexushoratio/py-mundane'
Issues = 'https://github.com/nexushoratio/py-mundane/issues'
[build-system]
requires = ['setuptools', 'setuptools-scm']
build-backend = 'setuptools.build_meta'
[tool.setuptools_scm]
[tool.yapf]
column_limit = 78
dedent_closing_brackets = true
join_multiple_lines = false
space_between_ending_comma_and_closing_bracket = false
split_before_arithmetic_operator = true
split_before_dot = true
split_before_first_argument = true
split_complex_comprehension = true
[tool.pylint.main]
fail-on = ['I']
[tool.pylint.basic]
docstring-min-length = 2
good-names = ["setUpModule"]
no-docstring-rgx = "(^__|_?test.*|.*Test)"
[tool.pylint.messages_control]
disable = [
'use-dict-literal',
'use-list-literal',
]
enable = [
'useless-suppression'
]
[tool.pylint.miscellaneous]
notes = ["FIXME"]
[tool.mypy]
files = 'mundane'
enable_incomplete_feature = [
'Unpack'
]
[tool.coverage.run]
branch = true
data_file = '.coverage/data_file'
command_line = '-m unittest discover -p *_test.py'
source = ['.']
[tool.coverage.html]
directory = '.coverage/html'
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py3
skipsdist = True
isolated_build = True
[testenv]
passenv = PYTHON*
sitepackages = True
commands =
python -m yapf -i -r mundane
python -m pylint mundane
python -m mypy
python -m coverage run
python -m coverage report
python -m coverage html --fail-under 100
"""