Giter Site home page Giter Site logo

ruff-check's Introduction

ruff-check

GitHub Action for ruff

Inputs

path

The path to run ruff on

Default "."

format

Format to output ruff messages in

Default "github"

flags

Optional Optional ruff flags (refer to ruff --help)

Default ""

Outputs

None

Example usage

uses: jpetrucciani/ruff-check@main

# or specify a path!
uses: jpetrucciani/ruff-check@main
with:
  path: '.'

# or specify more flags!
uses: jpetrucciani/ruff-check@main
with:
  flags: '--exclude ./env/'

ruff-check's People

Contributors

jpetrucciani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

michaelmoore-s1

ruff-check's Issues

New Release

Hello @jpetrucciani I noticed the examples are using @main would it be possible to create tags for each new ruff release? The latest current tag is several months old

Unexpected argument '--format' found caused by upgrading Ruff to latest version

Hi team, about 7 hours ago Ruff was updated to the latest version: fbcc7f8

However, Ruff removed support for the --format argument breaking the latest version of this action: astral-sh/ruff#7984

We get this error in all our actions that use this check:

+ ruff --version
+ ruff --format github '--ignore=E402' --fix '--line-length=90' text2song-service/
ruff 0.1.0
error: unexpected argument '--format' found

Proposed fix. Either:

  • lock version of Ruff to previous version
  • migrate to new flag.

Thanks for making this action!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.