Comments (3)
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.
I think that it is the spaces in the ignore list. Try removing all spaces inside the quotes
from flake8.
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)
- ERROR: Action failed during execution HOT 6
- Fix "ERROR" in non-zero exit status code lint fails
- How to setup a Github bot for comment in PR HOT 2
- Fails on Windows with exit code 3221225477 HOT 3
- Allow Select Parameter HOT 3
- Add plugins input HOT 6
- `pyproject.toml` support HOT 2
- The process '/grid/0/jenkins/.local/bin/flake8' failed with exit code 1 HOT 5
- Update cPython CI testing environments to 3.8, 3.9, 3.10, 3.11
- Action does not work with flake8 plugin 'pyproject-flake8'
- Update Action to use node20 HOT 1
- Update cPy interpreter versions in CI testing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flake8.