1- [tool . poetry ]
1+ [project ]
22name = " licensecheck"
33version = " 2024.3"
4- license = " mit"
54description = " Output the licenses used by dependencies and check if these are compatible with the project license"
6- authors = [" FredHappyface" ]
5+ authors = [{ name = " FredHappyface" }]
6+ requires-python = " >=3.9"
7+ readme = " README.md"
8+ license = " mit"
79classifiers = [
810 " Environment :: Console" ,
911 " Environment :: MacOS X" ,
@@ -16,41 +18,39 @@ classifiers = [
1618 " Programming Language :: Python :: Implementation :: CPython" ,
1719 " Topic :: Security" ,
1820 " Topic :: Software Development :: Libraries :: Python Modules" ,
19- " Topic :: Utilities"
21+ " Topic :: Utilities" ,
22+ ]
23+ dependencies = [
24+ " appdirs>=1.4.4" ,
25+ " fhconfparser>=2024.1" ,
26+ " loguru>=0.7.3" ,
27+ " markdown>=3.7" ,
28+ " packaging>=24.2" ,
29+ " requests>=2.32.3" ,
30+ " requests-cache>=1.2.1" ,
31+ " requirements-parser>=0.11.0" ,
32+ " rich>=13.9.4" ,
33+ " tomli>=2.2.1" ,
34+ " uv>=0.6.2" ,
2035]
21- homepage = " https://github.com/FHPythonUtils/LicenseCheck"
22- repository = " https://github.com/FHPythonUtils/LicenseCheck"
23- documentation = " https://github.com/FHPythonUtils/LicenseCheck/blob/master/README.md"
24- readme = " README.md"
25-
26- [tool .poetry .scripts ]
27- licensecheck = ' licensecheck:cli'
2836
29- [tool .poetry .dependencies ]
30- python = " ^3.8"
31- requests = " <3,>=2.31.0"
32- fhconfparser = " <2026,>=2024.1"
33- tomli = " <3,>=2.0.1"
34- rich = " <14,>=13.7.1"
35- requests-cache = " <2,>=1.2.0"
36- packaging = " <25,>=24.0"
37- loguru = " <2,>=0.7.2"
38- appdirs = " <2,>=1.4.4"
39- markdown = " <4,>=3.6"
40- uv = " <2,>=0.3.3"
41- requirements-parser = " <2,>=0.11.0"
37+ [project .urls ]
38+ Homepage = " https://github.com/FHPythonUtils/LicenseCheck"
39+ Repository = " https://github.com/FHPythonUtils/LicenseCheck"
40+ Documentation = " https://github.com/FHPythonUtils/LicenseCheck/blob/master/README.md"
4241
43- [tool .poetry .group .dev .dependencies ]
44- pytest = " ^8.1.1"
45- handsdown = " ^2.1.0"
46- coverage = " ^7.4.4"
47- ruff = " ^0.3.3"
48- pyright = " ^1.1.354"
49- pytest-loguru = " ^0.3.0"
42+ [project .scripts ]
43+ licensecheck = " licensecheck:cli"
5044
51- [build-system ]
52- requires = [" poetry-core" ]
53- build-backend = " poetry.core.masonry.api"
45+ [dependency-groups ]
46+ dev = [
47+ " coverage>=7.6.1" ,
48+ " handsdown>=2.1.0" ,
49+ " pyright>=1.1.394" ,
50+ " pytest>=8.3.4" ,
51+ " pytest-loguru>=0.4.0" ,
52+ " ruff>=0.9.7" ,
53+ ]
5454
5555[tool .ruff ]
5656line-length = 100
@@ -60,7 +60,6 @@ target-version = "py38"
6060[tool .ruff .lint ]
6161select = [" ALL" ]
6262ignore = [
63- " ANN101" , # type annotation for self in method
6463 " COM812" , # enforce trailing comma
6564 " D2" , # pydocstyle formatting
6665 " ISC001" ,
@@ -87,8 +86,6 @@ venvPath = "."
8786venv = " .venv"
8887
8988[tool .licensecheck ]
90- # using = "requirements:requirements.txt;requirements_optional.txt"
91- # format = "json"
9289
9390[tool .tox ]
9491legacy_tox_ini = """
@@ -103,3 +100,7 @@ env_list =
103100deps = pytest
104101commands = pytest tests
105102"""
103+
104+ [build-system ]
105+ requires = [" hatchling" ]
106+ build-backend = " hatchling.build"
0 commit comments