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 =
" [email protected] " },
9- ]
7+ authors = [{
name =
" Synodic Software" ,
email =
" [email protected] " }]
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,16 @@ 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.5" , " 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" ]
63+ addopts = [" --color=yes" ]
8564
8665[tool .mypy ]
8766exclude = " __pypackages__"
@@ -93,24 +72,17 @@ line-length = 120
9372preview = true
9473
9574[tool .ruff .lint ]
96- ignore = [
97- " D206" ,
98- " D300" ,
99- " D415" ,
100- " E111" ,
101- " E114" ,
102- " E117" ,
103- ]
75+ ignore = [" D206" , " D300" , " D415" , " E111" , " E114" , " E117" ]
10476select = [
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
77+ " D" , # pydocstyle
78+ " F" , # Pyflakes
79+ " I" , # isort
80+ " PL" , # pylint
81+ " UP" , # pyupgrade
82+ " E" , # pycodestyle
83+ " B" , # flake8-bugbear
84+ " SIM" , # flake8-simplify
85+ " PT" , # flake8-pytest-style
11486]
11587
11688[tool .ruff .lint .pydocstyle ]
@@ -125,9 +97,7 @@ quote-style = "single"
12597skip_empty = true
12698
12799[tool .pdm ]
128- plugins = [
129- " -e file:///${PROJECT_ROOT}" ,
130- ]
100+ plugins = [" -e file:///${PROJECT_ROOT}" ]
131101
132102[tool .pdm .options ]
133103update = [" --update-all" , " --unconstrained" ]
@@ -136,11 +106,11 @@ update = ["--update-all", "--unconstrained"]
136106source = " scm"
137107
138108[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 ." }
109+ analyze = { shell = " ruff check cppython tests" }
110+ format = { shell = " ruff format" }
111+ lint = { composite = [" analyze" , " format" , " type-check" ] }
112+ test = { shell = " pytest --cov=cppython --verbose tests" }
113+ type-check = { shell = " mypy ." }
144114
145115[build-system ]
146116build-backend = " pdm.backend"
0 commit comments