├── .flake8 ├── .github └── workflows │ └── test.yml ├── .gitignore ├── .pre-commit-config.yaml ├── LICENSE.rst ├── MANIFEST.in ├── README.rst ├── flake8_black.py ├── pyproject.toml ├── requirements.txt └── tests ├── conflicting_configurations ├── .flake8 ├── goodbye.py ├── hello.py └── pyproject.toml ├── non_conflicting_configurations ├── .flake8 ├── hello.py └── pyproject.toml ├── run_tests.sh ├── test_cases ├── hello_world.py ├── mixed_tab_spaces.py ├── no_closing_bracket.py └── stub.pyi ├── test_changes ├── black_preview.py ├── black_preview.txt ├── commas.py ├── commas.txt ├── hello_world.py ├── hello_world.txt ├── hello_world_EOF.py └── hello_world_EOF.txt ├── with_bad_toml ├── hello_world.py ├── hello_world.txt └── pyproject.toml ├── with_pyproject_toml ├── ignoring_toml.txt ├── ordinary_quotes.py └── pyproject.toml └── without_pyproject_toml └── ordinary_quotes.py /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/.flake8 -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /LICENSE.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/LICENSE.rst -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/README.rst -------------------------------------------------------------------------------- /flake8_black.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/flake8_black.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/requirements.txt -------------------------------------------------------------------------------- /tests/conflicting_configurations/.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/conflicting_configurations/.flake8 -------------------------------------------------------------------------------- /tests/conflicting_configurations/goodbye.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/conflicting_configurations/goodbye.py -------------------------------------------------------------------------------- /tests/conflicting_configurations/hello.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/conflicting_configurations/hello.py -------------------------------------------------------------------------------- /tests/conflicting_configurations/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.black] 2 | line-length = 90 3 | -------------------------------------------------------------------------------- /tests/non_conflicting_configurations/.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/non_conflicting_configurations/.flake8 -------------------------------------------------------------------------------- /tests/non_conflicting_configurations/hello.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/non_conflicting_configurations/hello.py -------------------------------------------------------------------------------- /tests/non_conflicting_configurations/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.black] 2 | line-length = 120 3 | -------------------------------------------------------------------------------- /tests/run_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/run_tests.sh -------------------------------------------------------------------------------- /tests/test_cases/hello_world.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/test_cases/hello_world.py -------------------------------------------------------------------------------- /tests/test_cases/mixed_tab_spaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/test_cases/mixed_tab_spaces.py -------------------------------------------------------------------------------- /tests/test_cases/no_closing_bracket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/test_cases/no_closing_bracket.py -------------------------------------------------------------------------------- /tests/test_cases/stub.pyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/test_cases/stub.pyi -------------------------------------------------------------------------------- /tests/test_changes/black_preview.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/test_changes/black_preview.py -------------------------------------------------------------------------------- /tests/test_changes/black_preview.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/test_changes/black_preview.txt -------------------------------------------------------------------------------- /tests/test_changes/commas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/test_changes/commas.py -------------------------------------------------------------------------------- /tests/test_changes/commas.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/test_changes/commas.txt -------------------------------------------------------------------------------- /tests/test_changes/hello_world.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/test_changes/hello_world.py -------------------------------------------------------------------------------- /tests/test_changes/hello_world.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/test_changes/hello_world.txt -------------------------------------------------------------------------------- /tests/test_changes/hello_world_EOF.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/test_changes/hello_world_EOF.py -------------------------------------------------------------------------------- /tests/test_changes/hello_world_EOF.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/test_changes/hello_world_EOF.txt -------------------------------------------------------------------------------- /tests/with_bad_toml/hello_world.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/with_bad_toml/hello_world.py -------------------------------------------------------------------------------- /tests/with_bad_toml/hello_world.txt: -------------------------------------------------------------------------------- 1 | with_bad_toml/hello_world.py:0:1: BLK997 Invalid TOML file 2 | -------------------------------------------------------------------------------- /tests/with_bad_toml/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/with_bad_toml/pyproject.toml -------------------------------------------------------------------------------- /tests/with_pyproject_toml/ignoring_toml.txt: -------------------------------------------------------------------------------- 1 | with_pyproject_toml/ordinary_quotes.py:10:7: BLK100 Black would make changes. 2 | -------------------------------------------------------------------------------- /tests/with_pyproject_toml/ordinary_quotes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/with_pyproject_toml/ordinary_quotes.py -------------------------------------------------------------------------------- /tests/with_pyproject_toml/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/with_pyproject_toml/pyproject.toml -------------------------------------------------------------------------------- /tests/without_pyproject_toml/ordinary_quotes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterjc/flake8-black/HEAD/tests/without_pyproject_toml/ordinary_quotes.py --------------------------------------------------------------------------------