diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc59efe..3309ae5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,12 +36,3 @@ jobs: run: | source .venv/bin/activate nox --session tests - - name: Check ruff - run: | - source .venv/bin/activate - ruff check - ruff format --check - - name: Check types with pyright - run: | - source .venv/bin/activate - pyright src/ bundled/tool/ diff --git a/Makefile b/Makefile deleted file mode 100644 index 60a868a..0000000 --- a/Makefile +++ /dev/null @@ -1,59 +0,0 @@ -.DEFAULT_GOAL := help - -PYTHONPATH= -SHELL=bash -VENV=.venv - - -# On Windows, `Scripts/` is used. -ifeq ($(OS),Windows_NT) - VENV_BIN=$(VENV)/Scripts -else - VENV_BIN=$(VENV)/bin -endif - - -.PHONY: deps -deps: ## Install dependencies - python -m pip install --upgrade uv - - @if [ ! -d "$(VENV)" ]; then \ - uv venv $(VENV); \ - echo "Virtual environment created at $(VENV)"; \ - else \ - echo "Virtual environment already exists at $(VENV)"; \ - fi - - source $(VENV_BIN)/activate && \ - uv pip install -r dev-requirements.txt - nox --session setup - npm install - - -.PHONY: test -test: ## Run tests - nox --session tests - -.PHONY: lint-python fmt-python - - -fmt-python: ## Format Python code - $(VENV_BIN)/ruff check . --fix - $(VENV_BIN)/ruff format . - - -lint-python: ## Lint Python code - $(VENV_BIN)/ruff check . - $(VENV_BIN)/ruff format . --check - - -.PHONY: type-check -type-check: ## Run type checking - $(VENV_BIN)/pyright - - -.PHONY: help -help: ## Display this help screen - @echo -e "\033[1mAvailable commands:\033[0m" - @grep -E '^[a-z.A-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-22s\033[0m %s\n", $$1, $$2}' | sort - diff --git a/dev-requirements.txt b/dev-requirements.txt index 191b997..3d355e8 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,7 +1,5 @@ pip==24.0 pytest==8.2.2 -pyright==1.1.377 -ruff==0.4.1 tach==0.18.0 # LSP nox==2024.4.15