Giter Site home page Giter Site logo

Unrecognized Arguments about flake8 HOT 3 CLOSED

py-actions avatar py-actions commented on May 29, 2024
Unrecognized Arguments

from flake8.

Comments (3)

chrissimpkins avatar chrissimpkins commented on May 29, 2024 2

I can reproduce the OP error locally when the spaces are present in the ignore option definitions. It is eliminated when I remove the spaces (here with an existing local dir):

flake8 --ignore F403,F405,W503,W504 --exclude target --max-line-length 120 .

I think that removal of the spaces between the warning and fail codes should address your issue.

For @mdcsaenz issue, will you please post the error message that you receive when you execute that workflow?

from flake8.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

I think that it is the spaces in the ignore list. Try removing all spaces inside the quotes

from flake8.

mdcsaenz avatar mdcsaenz commented on May 29, 2024

I had the same issue and I didnt have any spaces

name: flake8 Lint # https://github.com/marketplace/actions/python-flake8-lint
on: [push, pull_request]
jobs:
    flake8-lint:
      runs-on: ubuntu-latest
      steps:
        - name: Check out source repository
          uses: actions/checkout@v2
        - name: Set up Python environment
          uses: actions/setup-python@v1
          with:
            python-version: "3.8"
        - name: flake8 Lint
          uses: py-actions/flake8@v1

from flake8.

Related Issues (13)

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.