Skip to content

Commit ed05421

Browse files
committed
[style:project] Makefile, pyproject.toml
Some restyle of small parts of files.
1 parent 3185620 commit ed05421

2 files changed

Lines changed: 13 additions & 6 deletions

File tree

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# ==============================================================================
2+
# Makefile for Python Projects
3+
# - Author: Qu1nel
4+
# - Version: 2.0
5+
# ==============================================================================
6+
7+
18
# --- Color Codes for Output (work in Linux, macOS, Git Bash, WSL) ---
29
RESET = \033[0m
310
BOLD = \033[1m
@@ -25,7 +32,7 @@ TWINE_RUNNER := $(PYTHON_RUNNER) -m twine
2532
.PHONY: setup
2633
setup: ## Install all dependencies for development. Ex: make setup
2734
@echo "$(CYAN)› Setting up virtual environment and installing dependencies...$(RESET)"
28-
@uv venv -p 3.11
35+
@uv venv -p 3.11 --seed
2936
@uv pip install -e ".[dev,docs]"
3037
@echo "$(GREEN)✅ Setup complete. Activate with 'source .venv/bin/activate' or '.venv\\Scripts\\activate'.$(RESET)"
3138

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ build-backend = "setuptools.build_meta"
1111
[project]
1212
name = "python-code-validator"
1313
version = "0.1.3"
14-
authors = [{ name = "Qu1nel", email = "covach.qn@gmail.com" }]
1514
description = "A flexible, AST-based framework for static validation of Python code using declarative JSON rules."
15+
keywords = ["validation", "linter", "static analysis", "testing", "education", "ast"]
16+
authors = [{ name = "Qu1nel", email = "covach.qn@gmail.com" }]
1617
readme = "README.md"
1718
requires-python = ">=3.11"
1819
license = { file = "LICENSE" }
19-
keywords = ["validation", "linter", "static analysis", "testing", "education", "ast"]
2020
classifiers = [
2121
"Development Status :: 4 - Beta",
2222
"Intended Audience :: Developers",
@@ -40,9 +40,11 @@ dependencies = [
4040
"Documentation" = "https://pythoncodevalidator.readthedocs.io/en/latest/"
4141
"Bug Tracker" = "https://github.com/Qu1nel/PythonCodeValidator/issues"
4242

43+
4344
[project.scripts]
4445
validate-code = "code_validator.cli:run_from_cli"
4546

47+
4648
[project.optional-dependencies]
4749
dev = [
4850
"ruff>=0.4.0",
@@ -81,8 +83,7 @@ select = [
8183
"C4", # flake8-comprehensions
8284
"D", # pydocstyle
8385
]
84-
ignore = [
85-
]
86+
ignore = []
8687

8788
[tool.ruff.lint.per-file-ignores]
8889
"tests/*" = [
@@ -96,7 +97,6 @@ ignore = [
9697
"src/code_validator/components/__init__.py" = ["D104"]
9798
"src/code_validator/rules_library/__init__.py" = ["D104"]
9899

99-
100100
[tool.ruff.lint.pydocstyle]
101101
convention = "google"
102102

0 commit comments

Comments
 (0)