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

Scout Monitoring - Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • ruff-action

    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

  • 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.

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • isort

    A Python utility / library to sort imports.

  • 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

  • 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)

  • fastapi

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

  • 🐍 FastAPI

  • pre-commit

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

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • black

    The uncompromising Python code formatter

  • 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

  • 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
  • Packaging Python projects in 2023 from scratch

    2 projects | /r/Python | 6 Sep 2023
  • Conversion from the f-string literals to format method in python

    4 projects | /r/learnpython | 10 Jul 2023