Comments (5)
Hi @dominiquesydow thanks for raising this issue!
It looks like the new version of flake8
(>=5.0.0
) uses hardcoded "flake8"
instead of the application name to find valid config files and sections.
Since users might want to have different rules for notebooks and python files, it's time for another hack, to fix this regression and restore the flake8-nb<0.5.0
behaviour 😅
from flake8-nb.
@all-contributors please add @dominiquesydow for bug
from flake8-nb.
I've put up a pull request to add @dominiquesydow! 🎉
from flake8-nb.
@dominiquesydow I just released version 0.5.1
which should fix the issue (in a very hacky way 😅)
Feel free to reopen this issue the problem persists
from flake8-nb.
@s-weigand, brilliant! Thanks so much for this quick fix - and for adding me to the contributor list for the bug report, much appreciated!
from flake8-nb.
Related Issues (20)
- Add all-contributors HOT 3
- Clarification regarding "hack" HOT 4
- Identifying code cells in un-run notebooks HOT 14
- Generate annotated notebook with embedded flake8 reports HOT 2
- [BUG] Not reading `flake8` config from `tox.ini` HOT 2
- [BUG] configuration files ignored? HOT 2
- [BUG] Cells which start with `%%html` lead to SyntaxError HOT 3
- [Security] Workflow test.yml is using vulnerable action pre-commit/action HOT 1
- [Security] Workflow test.yml is using vulnerable action s-weigand/setup-conda HOT 1
- [Security] Workflow test.yml is using vulnerable action s-weigand/setup-conda HOT 1
- Improve explanation of how to ignore per file if the file name contains spaces HOT 2
- [BUG] ModuleNotFoundError for ipython_genutils HOT 5
- `.flake8_nb` does not work in certain cases HOT 2
- [BUG] .flake8 file is ignored HOT 2
- [BUG] Freshly installed flake8_nb won't properly start HOT 7
- [BUG] Excluded directory is checked. HOT 7
- [BUG] This doesn't seem to work for the %run magic command HOT 1
- [BUG] pre-commit.ci `Read-only file system` error for v0.5.2 HOT 3
- [BUG] Certain cells that start with %%bash lead to Syntax error, even with 'flake8-noqa-cell' tag HOT 2
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-nb.