-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.cfg
More file actions
88 lines (76 loc) · 1.61 KB
/
setup.cfg
File metadata and controls
88 lines (76 loc) · 1.61 KB
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
[metadata]
name = opine
description = An opinionated linter for python packaging
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
url = https://github.com/python-packaging/opine/
author = Tim Hatch
author_email = tim@timhatch.com
classifiers =
Development Status :: 4 - Beta
[options]
packages = find:
setup_requires =
setuptools_scm >= 8
setuptools >= 38.3.0
python_requires = >=3.8
install_requires =
dowsing>=0.5.0
libcst>=1.0
pkginfo>=1.5.0.1
imperfect>=0.2.0
moreorless>=0.3.0
tomlkit>=0.5.0
setuptools >= 38.3.0
[options.entry_points]
console_scripts =
opine = opine.main:main
[check]
metadata = true
strict = true
[coverage:run]
branch = True
include = opine/*
omit = opine/tests/*
[coverage:report]
fail_under = 90
precision = 1
show_missing = True
skip_covered = True
[isort]
line_length = 88
multi_line_output = 3
force_grid_wrap = False
include_trailing_comma = True
use_parentheses = True
[mypy]
ignore_missing_imports = True
[tox:tox]
envlist = py38-minimal, py38, py39, py310, py311, py312, coverage
[testenv]
deps =
-rrequirements-dev.txt
allowlist_externals = make
commands =
make test
setenv =
py{38,39,310,311,312}: COVERAGE_FILE={toxworkdir}/.coverage.{envname}
usedevelop = True
depends =
coverage: py{38,39,310,311,312}
[testenv:py38-minimal]
deps =
changedir = /
commands =
python -m opine.tests
[testenv:coverage]
setenv = COVERAGE_FILE={toxworkdir}/.coverage
skip_install = True
deps = coverage
commands =
coverage combine
coverage report -m
[flake8]
ignore = E203, E231, E266, E302, E501, W503
max-line-length = 88