Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: Create GitHub Action to lint Python code #1065

Merged
merged 3 commits into from
Mar 13, 2023

Commits on Mar 13, 2023

  1. misc: Create GitHub Action to lint Python code

    [Ruff](https://beta.ruff.rs/) supports [over 500 lint rules](https://beta.ruff.rs/docs/rules) including bandit, isort, pylint, pyupgrade, and flake8 plus its plugins, and is written in Rust for speed.
    
    The `ruff` Action uses minimal steps to run in ~10 seconds, rapidly providing intuitive GitHub Annotations to contributors.
    
    ![image](https://user-images.githubusercontent.com/3709715/223758136-afc386d2-70aa-4eff-953a-2c2d82ceea23.png)
    cclauss authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    ce39bc8 View commit details
    Browse the repository at this point in the history
  2. line-length = 681

    cclauss authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    39701b1 View commit details
    Browse the repository at this point in the history
  3. Update and rename lint_python.yml to lint-python.yml

    childish-sambino authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    00453c7 View commit details
    Browse the repository at this point in the history