Comments (4)
Hey @fmaussion! Thank you for reaching out to me about the issue.
I wasn't aware of #noqa
until now. PEP8Speaks uses pycodestyle as the linter. So, the error messages are not up to me.
I found some discussion about implementing it in pycodestyle, but if I am not wrong, it still remains a missing feature.
So, yes this is expected as of now, and the only way to avoid it is to put E741 in the ignores list of .pep8speaks.yml
from pep8speaks.
Thanks for the info! Maybe we'll keep this issue open for future reference.
from pep8speaks.
Hi @fmaussion !
I can see that E741
has been added to the ignore list in .pep8speaks.yml
. Does @pep8speaks still complain about any #noqa
errors other than E741?
I would also like to let you know that there is no need to maintain two copies of pycodestyle/flake8 settings in .pep8speaks.yml
and setup.cfg
. You can go ahead and remove pycodestyle:
section from .pep8speaks.yml
and it will read the [flake8]
section of setup.cfg
file. See #95 and pandas-dev/pandas#25605
from pep8speaks.
Hi @fmaussion !
PEP 8 Speaks can now support #noqa
. After #115, projects can choose between pycodestyle
and flake8
as their linter. The scanner.linter
option .pep8speaks.yml
should be set to flake8
.
Example .pep8speaks.yml
-
scanner:
diff_only: True
linter: flake8
flake8: # Skip this if you have [flake8] in your setup.cfg file
ignore:
- EXXX
- WXXX
Complete configuration details is in the README. I am going to close this issue. Let me know if you have any questions/comments!
from pep8speaks.
Related Issues (20)
- pep8speaks is not getting updated HOT 2
- Handle payloads with large number of files changed HOT 2
- Update integration installation webhook event
- Suggestion for escaped parenthesis HOT 2
- Potentially unsafe subprocess execution (shell=True) HOT 2
- Deploying a fork doesn't work HOT 5
- No messages appearing on PRs despite re-installation HOT 16
- Ignore path HOT 1
- pep8speaks.com doesn't exist HOT 1
- Has PEP8 Speaks stopped working or am I doing something wrong? HOT 9
- 🚨 Looking for a maintainer and sponsor to restart this project HOT 2
- Make pep8speaks "speak" again 🤩 HOT 1
- Update tests and move to GHAs HOT 1
- Build GH packages
- Update package's, Some package contains CVE's.
- [Docs] Document the deployment process HOT 3
- [Docs]: Update Readme HOT 2
- [feat]: Add Support for a packaging tool HOT 2
- Integrating GitHub Recent Activity for the pep8speaks bot
- logo and demo image is not visible
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 pep8speaks.