Metadata-Version: 2.1
Name: flake8-super
Version: 0.1.2
Summary: Python 3 super() check for flake8
Home-page: https://github.com/meanmail/flake8-super
Author: meanmail
Author-email: example@example.com
License: MIT
Platform: UNKNOWN
Classifier: Framework :: Flake8
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Quality Assurance
Description-Content-Type: text/markdown
Requires-Dist: flake8 (>3.0.0)
Requires-Dist: flake8-plugin-utils (==1.3.1)

# flake8-super
![PyPI - Downloads](https://img.shields.io/pypi/dm/flake8-super?color=blue&label=PyPi%20downloads)
![PyPI](https://img.shields.io/pypi/v/flake8-super)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/flake8-super)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/flake8-super)
![PyPI - Implementation](https://img.shields.io/pypi/implementation/flake8-super)

Python 3 super() check for flake8

# Installation

```bash
pip install flake8-super
```

# Configuration

No configuration required


# Example

```python3
#  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/


