Commit Graph

5 Commits

Author SHA1 Message Date
sobolevn 57c524d822 [flake8] Improve Statistic typing (#12313) 2024-07-10 11:03:43 +01:00
sobolevn e8cc1e46fe Add _write method to flake8.formatting.BaseFormatter (#12312)
It is very useful for real-life custom formatters. Example: https://github.com/wemake-services/wemake-python-styleguide/blob/470d81174684eb9a175603aec02f0ac6589b8acd/wemake_python_styleguide/formatter.py#L92-L96

Definition: https://github.com/PyCQA/flake8/blob/65a38c42a7f1a05ff8d99b313160754fc9b7a0d8/src/flake8/formatting/base.py#L173-L178
2024-07-10 12:41:40 +03:00
github-actions[bot] 340935b8b8 [stubsabot] Bump flake8 to 7.1.* (#12139)
Release: https://pypi.org/pypi/flake8/7.1.0
Homepage: https://github.com/pycqa/flake8
Repository: https://github.com/pycqa/flake8
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/flake8
Diff: https://github.com/pycqa/flake8/compare/7.0.0...7.1.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 7.
 - Total lines of Python code deleted: 3.
2024-06-16 01:18:56 +01:00
Ali Hamdan bd306f6b4c Use assignment instead of annotation in third party enums (#11957) 2024-05-18 17:31:39 +02:00
Sebastian Rittau 27cad856f8 Add flake8 (#11676) 2024-05-09 19:50:07 -07:00