Skip to main content

flake8-super

Downloads PyPI PyPI - Python Version PyPI - Wheel PyPI - Implementation

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

https://github.com/meanmail/flake8-super

https://meanmail.dev/

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)

Table of built distributions (wheels) for flake8-super 0.1.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page