ci: black: temporarily roll back to previous version

This will need a tree-wide black run to normalize the files.

  $ make dev
  $ ./env/bin/black --exclude '/(\.direnv|\.eggs|\.git|\.hg|\.ipynb_checkpoints|\.mypy_cache|\.nox|\.pytest_cache|\.ruff_cache|\.tox|\.svn|\.venv|\.vscode|__pypackages__|_build|buck-out|build|dist|venv|env)/' .
pull/2303/head
Emilio López 9 months ago
parent d820145d1c
commit 40a1594fe3
  1. 2
      .github/workflows/black.yml
  2. 2
      pyproject.toml
  3. 2
      setup.py

@ -42,7 +42,7 @@ jobs:
cp pyproject.toml .github/linters
- name: Black
uses: super-linter/super-linter/slim@v6.0.0
uses: super-linter/super-linter/slim@v4.9.2
if: always()
env:
# run linter on everything to catch preexisting problems

@ -1,5 +1,5 @@
[tool.black]
target-version = ["py38", "py39", "py310", "py311", "py312"]
target-version = ["py36"]
line-length = 100
[tool.pylint.messages_control]
disable = """

@ -24,7 +24,7 @@ setup(
],
extras_require={
"lint": [
"black==24.1.1",
"black==22.3.0",
"pylint==3.0.3",
],
"test": [

Loading…
Cancel
Save