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 Actions
flake8_super-0.1.3-py3-none-any.whl Python 3 none any Details for flake8_super-0.1.3-py3-none-any.whl

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

Security for flake8-super 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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