-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
109 lines (97 loc) · 2.31 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[tool.poetry]
name = "license-markdown-table"
version = "0.1.0"
description = "Gathers project dependencies and creates a markdown table with license information for each package."
authors = ["szmyty <szmyty@gmail.com>"]
repository = "https://github.com/szmyty/license-markdown-table"
readme = "README.md"
keywords = ["license", "markdown"]
[tool.poetry.dependencies]
python = "^3.10"
prettytable = "^3.3.0"
toml = "^0.10.2"
importlib-metadata = "^4.11.4"
wheel = "^0.37.1"
pandas = "^1.4.2"
tabulate = "^0.8.9"
[tool.poetry.dev-dependencies]
pytest = "^7.1.2"
isort = "^5.10.1"
black = "^22.3.0"
flake8 = "^4.0.1"
flake8-bugbear = "^22.4.25"
mypy = "^0.961"
coverage = "^6.4.1"
bandit = "^1.7.4"
pydocstyle = "^6.1.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
minversion = "6.0"
pythonpath = "."
addopts = "-ra"
testpaths = ["."]
log_cli = "True"
junit_family = "legacy"
[tool.black]
line-length = 88
target-version = ["py36", "py37", "py38", "py39"]
include_trailing_comma = false
include = '\.pyi?$'
exclude = '''
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| migrations
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
)/
'''
[tool.isort]
profile = "black"
skip = ["venv"]
balanced_wrapping = true
atomic = true
multi_line_output = 3
include_trailing_comma = false
force_grid_wrap = 0
use_parentheses = true
line_length = 88
import_heading_stdlib = "Standard Library Imports"
import_heading_thirdparty = "Third Party Imports"
import_heading_firstparty = "Local Application Imports"
import_heading_localfolder = "Local Folder Imports"
[tool.mypy]
mypy_path = "."
warn_no_return = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
[tool.pydocstyle]
inherit = false
convention = "google"
match = '.*\.py'
match_dir = '(?=[^\.])(?=(?!venv)).*'
[tool.coverage.run]
branch = true
command_line = "-m pytest"
source = ['./']
[tool.coverage.report]
precision = 2
skip_covered = true
fail_under = 90