Metadata-Version: 2.1
Name: flake8-useless-assert
Version: 0.3.0
Summary: flake8 plugin to catch useless `assert` statements
License: MIT
Author: decorator-factory
Author-email: decorator-factory@yandex.ru
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: flake8 (>=3.9,<5.0)
Description-Content-Type: text/markdown

# flake8-useless-assert
flake8 plugin to catch useless `assert` statements


# Examples of what it will flag

```py
assert "string literal"
assert 0x2a
assert "call to {0}".format("format")
assert f"f-{str}ing"
assert True
assert ...
```


# Testing
I haven't set up proper testing yet, but you can run `poetry install` and then:
```
flake8 examples/
```
