Automate Python Linting and Code Style Enforcement with Ruff and GitHub Actions

This page summarizes the projects mentioned and recommended in the original post on dev.to

Judoscale - Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.
judoscale.com
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
  1. ruff-action

    Discontinued A GitHub Action for Ruff

    The code above is equivalent to the previous workflow. The main difference is that we are using the Ruff GitHub Action instead of running Ruff directly. Read more about the Ruff GitHub Action here

  2. Judoscale

    Save 47% on cloud hosting with autoscaling that just works. Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.

    Judoscale logo
  3. git-auto-commit-action

    Automatically commit and push changed files back to GitHub with this GitHub Action for the 80% use case.

    We are also using the auto-commit action to commit the changes. We can configure the commit message and other options. Read more about the auto-commit action here. This is optional - we can also use the git action to commit the changes manually.

  4. isort

    A Python utility / library to sort imports.

  5. FastAPI-Backend-Template

    A backend project template with FastAPI, PostgreSQL with asynchronous SQLAlchemy 2.0, Alembic for asynchronous database migration, and Docker.

    View on GitHub

  6. FastAPI-Backend-Template

    A backend project template with FastAPI, PostgreSQL with asynchronous SQLAlchemy 2.0, Alembic for asynchronous database migration, and Docker. (by Aeternalis-Ingenium)

  7. fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

    🐍 FastAPI

  8. pre-commit

    A framework for managing and maintaining multi-language pre-commit hooks.

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. black

    The uncompromising Python code formatter

  11. ruff

    Discontinued An extremely fast Python linter, written in Rust. [Moved to: https://github.com/astral-sh/ruff] (by charliermarsh)

    Ruff documentation:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Amazing `pre-commit` and How To Use It

    3 projects | dev.to | 26 Feb 2025
  • Setting up `pre-commit` in a Django project

    4 projects | dev.to | 28 Jun 2024
  • How to setup Black and pre-commit in python for auto text-formatting on commit

    3 projects | dev.to | 29 Mar 2024
  • Testing Python Code Using UnitTest

    3 projects | dev.to | 9 Nov 2023
  • Django Code Formatting and Linting Made Easy: A Step-by-Step Pre-commit Hook Tutorial

    7 projects | dev.to | 4 Oct 2023