forked from FHPythonUtils/LicenseCheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
94 lines (80 loc) · 2.16 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
[tool.poetry]
name = "licensecheck"
version = "2023.4.3"
license = "mit"
description = "Output the licenses used by dependencies and check if these are compatible with the project license"
authors = ["FredHappyface"]
classifiers = [
"Environment :: Console",
"Environment :: MacOS X",
"Environment :: Win32 (MS Windows)",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Security",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities"
]
homepage = "https://github.com/FHPythonUtils/LicenseCheck"
repository = "https://github.com/FHPythonUtils/LicenseCheck"
documentation = "https://github.com/FHPythonUtils/LicenseCheck/blob/master/README.md"
readme = "README.md"
[tool.poetry.scripts]
licensecheck = 'licensecheck:cli'
[tool.poetry.dependencies]
python = "^3.8"
requests = "<3,>=2.31.0"
fhconfparser = "<2024,>=2022"
tomli = "<3,>=2.0.1"
rich = "<14,>=13.5.2"
requests-cache = "<2,>=1.1.0"
packaging = "<24,>=23.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
pylint = "^2.17.5"
handsdown = "^2.0.1"
fhmake = "^2023"
coverage = "^7.3.0"
[tool.black]
line-length = 100
target-version = ["py38"]
[tool.isort]
profile = "black"
indent = "Tab"
[tool.pydocstyle]
convention = "google"
ignore = "D205,D415"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pylint.basic]
argument-naming-style = "camelCase"
attr-naming-style = "camelCase"
function-naming-style = "camelCase"
method-naming-style = "camelCase"
variable-naming-style = "camelCase"
[tool.pylint.format]
indent-string = "\t"
[tool.pylint.master]
ignore-paths = ["tests"]
[tool.pylint.messages_control]
enable = ["F", "E", "W", "R", "C"]
disable = ["pointless-string-statement", "superfluous-parens"]
[tool.licensecheck]
# using = "requirements:requirements.txt;requirements_optional.txt"
# format = "json"
[tool.tox]
legacy_tox_ini = """
[tox]
env_list =
py311
py310
py39
py38
[testenv]
deps = pytest
commands = pytest tests
"""