style: apply black and isort formatting across entire codebase
- Standardize quote style (single to double quotes) - Reorder and group imports alphabetically - Fix line breaks and indentation for consistency - Apply PEP 8 formatting standards Also updated Makefile to exclude both venv and .venv from code quality checks. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
12
Makefile
12
Makefile
@@ -176,19 +176,19 @@ test-inventory:
|
||||
|
||||
format:
|
||||
@echo "Running black..."
|
||||
$(PYTHON) -m black . --exclude venv
|
||||
$(PYTHON) -m black . --exclude '/(\.)?venv/'
|
||||
@echo "Running isort..."
|
||||
$(PYTHON) -m isort . --skip venv
|
||||
$(PYTHON) -m isort . --skip venv --skip .venv
|
||||
|
||||
lint:
|
||||
@echo "Running linting..."
|
||||
$(PYTHON) -m ruff check . --exclude venv
|
||||
$(PYTHON) -m mypy . --ignore-missing-imports --exclude venv
|
||||
$(PYTHON) -m ruff check . --exclude venv --exclude .venv
|
||||
$(PYTHON) -m mypy . --ignore-missing-imports --exclude '.*(\.)?venv.*'
|
||||
|
||||
lint-flake8:
|
||||
@echo "Running linting..."
|
||||
$(PYTHON) -m flake8 . --max-line-length=120 --extend-ignore=E203,W503,I201,I100 --exclude=venv,__pycache__,.git
|
||||
$(PYTHON) -m mypy . --ignore-missing-imports --exclude venv
|
||||
$(PYTHON) -m flake8 . --max-line-length=120 --extend-ignore=E203,W503,I201,I100 --exclude=venv,.venv,__pycache__,.git
|
||||
$(PYTHON) -m mypy . --ignore-missing-imports --exclude '.*(\.)?venv.*'
|
||||
|
||||
check: format lint
|
||||
|
||||
|
||||
Reference in New Issue
Block a user