Skip to content

Commit

Permalink
ci: black: temporarily roll back to previous version
Browse files Browse the repository at this point in the history
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)/' .
  • Loading branch information
elopez committed Feb 20, 2024
1 parent d820145 commit 40a1594
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.black]
target-version = ["py38", "py39", "py310", "py311", "py312"]
target-version = ["py36"]
line-length = 100
[tool.pylint.messages_control]
disable = """
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
extras_require={
"lint": [
"black==24.1.1",
"black==22.3.0",
"pylint==3.0.3",
],
"test": [
Expand Down

0 comments on commit 40a1594

Please sign in to comment.