Socket
Book a DemoInstallSign in
Socket

flake8-super

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flake8-super

Python 3 super() check for flake8

0.1.3
pipPyPI
Maintainers
1

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

codedescription
SPR100Use super() instead of super(__class__, self)

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

https://meanmail.dev/

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.