FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix: #49. Replace isort, black, flake8 with ruff by ilovelinux · Pull Request #63 · par-tec/python-cookiecutter · GitHub

Repository navigation

Fix: #49. Replace isort, black, flake8 with ruff - #63

Open
ilovelinux wants to merge 2 commits into
par-tec:mainfrom
ilovelinux:ilovelinux-49
Open

ilovelinux wants to merge 2 commits into
par-tec:mainfrom
ilovelinux:ilovelinux-49

Conversation

ilovelinux commented Feb 19, 2026 •
edited
Loading

Copy link
Copy Markdown
Contributor

Closes #49

  • Replaced isort, black and flake8 rules with ruff equivalents
  • Enable ALL Ruff rules by default
  • Fix test file accordingly

Tested locally with docker-compose up after bumping pre-commit:

diff --git a/tests/Dockerfile.pre-commit b/tests/Dockerfile.pre-commit
index 1562a3c..8ddb400 100644
--- a/tests/Dockerfile.pre-commit
+++ b/tests/Dockerfile.pre-commit
@@ -5,6 +5,6 @@ FROM python:3
 RUN useradd noop -m
 USER noop
 RUN  pip3 --no-cache-dir install --user \
-    tox==4.3.5 \
-    pre-commit==3.0.0
+    tox==4.40.0 \
+    pre-commit==4.5.1
 ENTRYPOINT ["/home/noop/.local/bin/pre-commit", "run", "-a"]

Copy link
Copy Markdown
Contributor Author

Tests fails because of:

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pre-commit: replace black, pyflake and isort with ruff

1 participant


Back | FazBrowse Home | New Git URL