Comments (3)
This certainly seems reasonable
from pep8-naming.
@sigmavirus24: do you have any suggestions for testing such a change? I have a working implementation, but the testing framework does not allow custom options to be passed into the NamingChecker.
I'm currently experimenting with the test syntax looking as such:
#: Okay(--staticmethod-decorators=exstatik,stcmthd)
class SecondNewStatic(object):
@stcmthd
def test(so, exciting):
pass
and then parsing the options, which get passed to an instance of flake8.options.manager.OptionManager
in ./run_tests.py.
Does this sound like an OK approach to you?
Also, looking at the codebase, I'm unsure which version of flake8 I am using within the test suite. Is it always the latest version?
from pep8-naming.
@sigmavirus24: just checking to see if there is anything else I need to do on my end to get #39 through. Cheers!
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.