release: 5.5.0 merged main into stable and resolved merge conflicts
This commit is contained in:
commit
d865e6fe14
846 changed files with 84994 additions and 86094 deletions
16
Makefile
16
Makefile
|
|
@ -172,5 +172,19 @@ dev-srv:
|
|||
.PHONY: ruff-check
|
||||
# ruff-check: run a ruff analysis
|
||||
ruff-check:
|
||||
ruff check --ignore F401 --ignore I001 --ignore E402 --ignore E501 --ignore F841 --exclude rhodecode/lib/dbmigrate --exclude .eggs --exclude .dev .
|
||||
ruff check --exclude rhodecode/lib/dbmigrate --exclude .eggs --exclude .dev .
|
||||
|
||||
.PHONY: ruff-format
|
||||
# Get changed Python files
|
||||
ruff-format:
|
||||
|
||||
@echo "Finding changed Python files..."
|
||||
@git diff --name-only | grep '\.py$$' > .changed_files || true
|
||||
@if [ -s .changed_files ]; then \
|
||||
echo "Running Ruff format on the following files:"; \
|
||||
cat .changed_files; \
|
||||
cat .changed_files | xargs ruff format; \
|
||||
else \
|
||||
echo "No Python files changed."; \
|
||||
fi
|
||||
@rm -f .changed_files
|
||||
Loading…
Add table
Add a link
Reference in a new issue