Skip to content

Commit

Permalink
Makefile: Add codespell and ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Apr 28, 2024
1 parent 91af2a3 commit f1f8914
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ bootstrap: $(VENV)/bin/pip
$(VENV)/bin/pip install -e .[dev]

format:
$(VENV)/bin/black .
$(VENV)/bin/codespell
$(VENV)/bin/ruff check
$(VENV)/bin/ruff format

doc: $(VENV)/bin/sphinx-build
. $(ACTIVATE);
Expand Down
14 changes: 9 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,16 @@ redis = ["redis>=2.10.5"]
dev = [
"CacheControl[filecache,redis]",
"build",
"cherrypy",
"codespell[tomli]",
"furo",
"mypy",
"tox",
"pytest-cov",
"pytest",
"cherrypy",
"pytest-cov",
"ruff",
"sphinx",
"furo",
"sphinx-copybutton",
"black",
"tox",
"types-redis",
"types-requests",
]
Expand All @@ -77,3 +78,6 @@ ignore_missing_imports = true

[tool.pytest.ini_options]
norecursedirs = ["bin", "lib", "include", "build"]

[tool.ruff]
target-version = "py38"

0 comments on commit f1f8914

Please # to comment.