11# pyproject.toml
22[build-system ]
3- requires = [" setuptools" , " wheel" , " setuptools_scm" ]
3+ requires = [" setuptools>=45 " , " wheel" , " setuptools_scm>=6.2 " ]
44build-backend = " setuptools.build_meta"
55
66[project ]
@@ -11,21 +11,8 @@ license = { file = "LICENSE" }
1111authors = [
1212 { name = " Henrique Sagara" , email = " henrique.sagara@hotmail.com" }
1313]
14- dependencies = [
15- " cohere" ,
16- " colorama" ,
17- " groq" ,
18- " python-dotenv" ,
19- " toml" ,
20- " black" ,
21- " ruff" ,
22- " pre-commit" ,
23- " coverage"
24- ]
25- dynamic = [" version" ] # Keep only 'version' dynamic
26-
14+ dynamic = [" version" , " dependencies" ]
2715requires-python = " >=3.7"
28-
2916classifiers = [
3017 " Programming Language :: Python :: 3" ,
3118 " License :: OSI Approved :: MIT License" ,
@@ -34,37 +21,29 @@ classifiers = [
3421
3522[tool .setuptools_scm ]
3623version_scheme = " post-release"
37- write_to = " src/_version.py" # Optional: Write version to a file
24+ write_to = " src/_version.py"
3825
3926[project .urls ]
4027Homepage = " https://github.com/HTSagara/readme_genie"
4128Documentation = " https://github.com/HTSagara/readme_genie/blob/main/README.md"
4229
43- # Set up black as formatter
4430[tool .black ]
4531line-length = 79
4632target-version = [" py311" ]
4733
48- # Set up ruff as linter only
4934[tool .ruff ]
50- # Exclude directories that don’t need linting (e.g., virtual environments)
5135exclude = [
5236 " venv/" ,
5337 " __pycache__/"
5438]
5539fix = true
56-
57-
58- # Enable specific linting rules
59- select = [" F" , " E" , " W" , " B" , " I" , " S" ] # Example codes: F=flake8, E=errors, W=warnings, B=bugbear, I=import, S=safety
60- # Exclude Black-compatible rules to avoid conflicts with Black's formatting.
61- ignore = [" E501" , " E203" , " E231" ] # Exclude Black-incompatible style issues
40+ select = [" F" , " E" , " W" , " B" , " I" , " S" ]
41+ ignore = [" E501" , " E203" , " E231" ]
6242
6343[tool .coverage .run ]
6444source = [" ." ]
6545branch = true
6646omit = [" tests/*" ]
6747
68-
6948[tool .pytest .ini_options ]
70- pythonpath = [" src" ]
49+ pythonpath = [" src" ]
0 commit comments