Merge pull request #13397 from nsoranzo/fix_make_diff-format

Fix `make diff-format`
This commit is contained in:
Marius van den Beek
2022-02-17 15:17:27 +01:00
committed by GitHub
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -38,8 +38,8 @@ docs-develop: ## Fast doc generation and more warnings (for development)
setup-venv:
if [ ! -f $(VENV)/bin/activate ]; then bash scripts/common_startup.sh --dev-wheels; fi
diff-format: ## Format Python code changes
$(IN_VENV) darker -r $(TARGET_BRANCH)
diff-format: ## Format Python code changes since last commit
$(IN_VENV) darker .
format: ## Format Python code base
$(IN_VENV) isort .
+3
View File
@@ -9,6 +9,9 @@ extend-exclude = '''
'''
force-exclude = 'lib/galaxy/util/jstree.py'
[tool.darker]
isort = true
[tool.poetry]
name = "galaxy"
version = "22.01.dev0"