mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #13397 from nsoranzo/fix_make_diff-format
Fix `make diff-format`
This commit is contained in:
@@ -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 .
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user