Comments (3)
This plugin is simply for names of functions, methods, and classes. It does not check the bodies for assignments and neither should it. Those are valid assignments in practice although they may introduce unexpected behaviour there is no reason for this plugin to squawk about them.
from pep8-naming.
This plugin is simply for names of functions, methods, and classes.
VariablesInFunctionCheck checks also variable names in function body, just like this test.
from pep8-naming.
I misspoke. Regardless the point stands that this is not a issue of naming but rather something better suggested for a linter not a style checker
from pep8-naming.
Related Issues (20)
- Broken test with flake8>=3.9.1 HOT 6
- RecursionError when checking class that inherits from same-named class
- Warning instance attributes that are not camel_case compliant
- TypedDict classes should be exempt from N815 HOT 10
- Renaming default branch to main HOT 1
- Drop dependency on flake8-polyfill HOT 2
- N815 is not being reported HOT 4
- N815 is not being reported HOT 1
- N816 does not make sense HOT 1
- False positive for N805 in a child class HOT 3
- False positive for HTTP request handler do_METHOD methods HOT 1
- False Error N805 HOT 1
- "camelcase imported as lowercase" failure in an import of a package or module HOT 12
- Add flake8_polyfill as requirement HOT 2
- Deprecation warning for options HOT 1
- Detect @classproperty mtehods as class methods HOT 3
- Feature request: ignore `N802` for methods marked with `@override` HOT 1
- Add naming rule for instance variables HOT 2
- ignore-names globbing is not case-sensitive on Windows HOT 1
- Add option to ignore N812 for specific packages
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 pep8-naming.