flake8-super
Python 3 super() check for flake8
Installation
pip install flake8-super
Configuration
No configuration required
Example
# Error
class SomeClass:
def __init__(self):
super(SomeClass, self).__init__() # SPR100 Use `super()` instead of `super(__class__, self)`
# Good
class SomeClass:
def __init__(self):
super().__init__()
Error codes
| code | description |
|---|---|
| SPR100 | Use super() instead of super(__class__, self) |
Links
Metadata
Release files for flake8-super 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flake8_super-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / flake8_super-0.1.3-py3-none-any.whl
| Download URL | flake8_super-0.1.3-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
595cd65af908574867accfaa3ea2b3e4790637711859306550dc433d9105cbba
|
|
BLAKE2b-256 checksum How to use checksums |
4f4496e6933425f4ae28f8eab69aa7b7bb7d04ca668ffe01b1a9005e95f6366b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.6
|