22description = " A Python management solution for C++ dependencies"
33name = " cppython"
44
5- license = {text = " MIT" }
5+ license = { text = " MIT" }
66
7- authors = [
8- {name = " Synodic Software" , email = " contact@synodic.software" },
9- ]
7+ authors = [{ name = " Synodic Software" , email = " contact@synodic.software" }]
108readme = " README.md"
119
1210dynamic = [" version" ]
1311
1412requires-python = " >=3.13"
1513
1614dependencies = [
17- " typer>=0.15.2" ,
18- " pydantic>=2.11.3" ,
19- " packaging>=24.2" ,
20- " requests>=2.32.3" ,
21- " types-requests>=2.32.0.20250328" ,
15+ " typer>=0.15.2" ,
16+ " pydantic>=2.11.3" ,
17+ " packaging>=24.2" ,
18+ " requests>=2.32.3" ,
19+ " types-requests>=2.32.0.20250328" ,
2220]
2321
2422[project .optional-dependencies ]
25- pytest = [
26- " pytest>=8.3.5" ,
27- " pytest-mock>=3.14.0" ,
28- ]
23+ pytest = [" pytest>=8.3.5" , " pytest-mock>=3.14.0" ]
2924
30- git = [
31- " dulwich>=0.22.8" ,
32- ]
25+ git = [" dulwich>=0.22.8" ]
3326
34- pdm = [
35- " pdm>=2.23.1" ,
36- ]
27+ pdm = [" pdm>=2.23.1" ]
3728
38- cmake = [
39- " cmake>=4.0.0" ,
40- ]
29+ cmake = [" cmake>=4.0.0" ]
4130
42- conan = [
43- " conan>=2.15.0" ,
44- ]
31+ conan = [" conan>=2.15.0" ]
4532
4633[project .urls ]
4734homepage = " https://github.com/Synodic-Software/CPPython"
@@ -64,24 +51,15 @@ cppython = "cppython.plugins.pdm.plugin:CPPythonPlugin"
6451cppython = " cppython.test.pytest.fixtures"
6552
6653[dependency-groups ]
67- lint = [
68- " ruff>=0.11.4" ,
69- " mypy>=1.15.0" ,
70- ]
71- test = [
72- " pytest>=8.3.5" ,
73- " pytest-cov>=6.1.1" ,
74- " pytest-mock>=3.14.0" ,
75- ]
54+ lint = [" ruff>=0.11.4" , " mypy>=1.15.0" ]
55+ test = [" pytest>=8.3.5" , " pytest-cov>=6.1.1" , " pytest-mock>=3.14.0" ]
7656
7757[project .scripts ]
7858cppython = " cppython.console.entry:app"
7959
8060[tool .pytest .ini_options ]
8161log_cli = true
82- testpaths = [
83- " tests" ,
84- ]
62+ testpaths = [" tests" ]
8563
8664[tool .mypy ]
8765exclude = " __pypackages__"
@@ -93,24 +71,17 @@ line-length = 120
9371preview = true
9472
9573[tool .ruff .lint ]
96- ignore = [
97- " D206" ,
98- " D300" ,
99- " D415" ,
100- " E111" ,
101- " E114" ,
102- " E117" ,
103- ]
74+ ignore = [" D206" , " D300" , " D415" , " E111" , " E114" , " E117" ]
10475select = [
105- " D" , # pydocstyle
106- " F" , # Pyflakes
107- " I" , # isort
108- " PL" , # pylint
109- " UP" , # pyupgrade
110- " E" , # pycodestyle
111- " B" , # flake8-bugbear
112- " SIM" , # flake8-simplify
113- " PT" , # flake8-pytest-style
76+ " D" , # pydocstyle
77+ " F" , # Pyflakes
78+ " I" , # isort
79+ " PL" , # pylint
80+ " UP" , # pyupgrade
81+ " E" , # pycodestyle
82+ " B" , # flake8-bugbear
83+ " SIM" , # flake8-simplify
84+ " PT" , # flake8-pytest-style
11485]
11586
11687[tool .ruff .lint .pydocstyle ]
@@ -125,9 +96,7 @@ quote-style = "single"
12596skip_empty = true
12697
12798[tool .pdm ]
128- plugins = [
129- " -e file:///${PROJECT_ROOT}" ,
130- ]
99+ plugins = [" -e file:///${PROJECT_ROOT}" ]
131100
132101[tool .pdm .options ]
133102update = [" --update-all" , " --unconstrained" ]
@@ -136,11 +105,11 @@ update = ["--update-all", "--unconstrained"]
136105source = " scm"
137106
138107[tool .pdm .scripts ]
139- analyze = {shell = " ruff check cppython tests" }
140- format = {shell = " ruff format" }
141- lint = {composite = [" analyze" , " format" , " type-check" ]}
142- test = {shell = " pytest --cov=cppython --verbose tests" }
143- type-check = {shell = " mypy ." }
108+ analyze = { shell = " ruff check cppython tests" }
109+ format = { shell = " ruff format" }
110+ lint = { composite = [" analyze" , " format" , " type-check" ] }
111+ test = { shell = " pytest --cov=cppython --verbose tests" }
112+ type-check = { shell = " mypy ." }
144113
145114[build-system ]
146115build-backend = " pdm.backend"
0 commit comments