forked from python-packaging/infer-license
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
70 lines (59 loc) · 1.34 KB
/
setup.cfg
File metadata and controls
70 lines (59 loc) · 1.34 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
[metadata]
name = infer-license
description = A script to guess licenses based on text
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
url = https://github.com/python-packaging/infer-license/
author = Tim Hatch
author_email = tim@timhatch.com
[options]
packages = infer_license
setup_requires =
setuptools_scm
setuptools >= 38.3.0
python_requires = >=3.6
install_requires =
dataclasses >= 0.7; python_version < '3.7'
include_package_data = true
[check]
metadata = true
strict = true
[coverage:run]
branch = True
include = infer_license/*
omit = infer_license/tests/*
[coverage:report]
fail_under = 70
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
[tool:pytest]
python_files = infer_license/tests/*.py
addopts = --ignore=infer_license/tests/__main__.py
[tox:tox]
envlist = py36, py37, py38
[testenv]
deps = -rrequirements-dev.txt
whitelist_externals = make
commands =
make test
make lint
infer_license LICENSE
setenv =
COVERAGE_FILE={envdir}/.coverage
MYPY_CACHE_DIR={envdir}/.mypy_cache
[flake8]
ignore = E203, E231, E266, E302, E501, W503
max-line-length = 88
[options.package_data]
infer_license =
py.typed