Jelajahi Sumber

show black diff

Fred Lefévère-Laoide 1 tahun lalu
induk
melakukan
9e7d75d888
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 1 1
      .github/workflows/linter.yml
  2. 1 1
      tox.ini

+ 1 - 1
.github/workflows/linter.yml

@@ -21,7 +21,7 @@ jobs:
           use-pylint: false
           use-isort: false
           use-mypy: false
-          extra-black-options: "--line-length=120"
+          extra-black-options: "--line-length=120 --diff"
           extra-pycodestyle-options: "--max-line-length=120  --exclude=tests/gui --ignore=E121,E123,E126,E226,E24,E704,W503,W504,E203"
           extra-mypy-options: "--ignore-missing-imports --implicit-optional --no-namespace-packages --exclude (taipy/templates/|generate_pyi.py) --follow-imports skip"
           extra-isort-options: "--line-length=120 --force-grid-wrap=10 --multi-line=VERTICAL_HANGING_INDENT --trailing-comma"

+ 1 - 1
tox.ini

@@ -25,7 +25,7 @@ deps =
     flake8
 commands =
     isort taipy --check
-    black taipy tests --check --diff
+    black taipy tests --check
     flake8 taipy tests
 
 [testenv:linux]