quiz-app
ruff-pre-commit
quiz-app | ruff-pre-commit | |
---|---|---|
1 | 4 | |
3 | 710 | |
- | 10.1% | |
8.2 | 8.5 | |
4 months ago | 2 days ago | |
Python | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
quiz-app
-
Embracing Modern Python for Web Development
To make this blog post more hands-on, I have put together a Github repository where you can find all these best practices implemented: https://github.com/mbrignone/quiz-app.
ruff-pre-commit
-
Embracing Modern Python for Web Development
repos: # run the Ruff linter - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version rev: v0.1.3 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] # run the Ruff formatter - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version rev: v0.1.3 hooks: - id: ruff-format
-
Enhancing Python Code Quality: A Comprehensive Guide to Linting with Ruff
- repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. rev: v0.0.277 hooks: - id: ruff # Ruff options. args: ["--paths", "src", "tests", "--exclude", "src/ignore.py"]
- Improve your Django Code with pre-commit
-
Ruff: A new, fast and correct Python checker/linter
And here's a pre-commit hook to save us some time. https://github.com/charliermarsh/ruff-pre-commit
What are some alternatives?
pytest-ruff
pyright - Static Type Checker for Python
FastUI - Build better UIs faster. [Moved to: https://github.com/pydantic/FastUI]
pre-commit-hooks - Some out-of-the-box hooks for pre-commit
ruff - An extremely fast Python linter and code formatter, written in Rust.
isort - A Python utility / library to sort imports.
ruff-action - A GitHub Action for Ruff
Poetry - Python packaging and dependency management made easy
Flake8 - flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
basic-django
yesqa - Automatically remove unnecessary `# noqa` comments