♻️ fix linux version

This commit is contained in:
Ondrej Samohel 2024-03-25 16:20:41 +01:00
parent 26b411b2d1
commit afd2e3518c
3 changed files with 10 additions and 10 deletions

View file

@ -1,3 +1,3 @@
flake8: flake8:
enabled: true enabled: true
config_file: setup.cfg config_file: setup.cfg

0
tools/manage.ps1 Normal file → Executable file
View file

14
tools/manage.sh Normal file → Executable file
View file

@ -152,22 +152,22 @@ default_help() {
echo "" echo ""
echo -e "Usage: ${BWhite}./manage.sh${RST} ${BICyan}[command]${RST}" echo -e "Usage: ${BWhite}./manage.sh${RST} ${BICyan}[command]${RST}"
echo "" echo ""
echo "${BWhite}Commands:${RST}" echo -e "${BWhite}Commands:${RST}"
echo " ${BWhite}create-env${RST} ${BCyan}Install Poetry and update venv by lock file${RST}" echo -e " ${BWhite}create-env${RST} ${BCyan}Install Poetry and update venv by lock file${RST}"
echo " ${BWhite}ruff-check${RST} ${BCyan}Run Ruff check for the repository${RST}" echo -e " ${BWhite}ruff-check${RST} ${BCyan}Run Ruff check for the repository${RST}"
echo " ${BWhite}ruff-fix${RST} ${BCyan}Run Ruff fix for the repository${RST}" echo -e " ${BWhite}ruff-fix${RST} ${BCyan}Run Ruff fix for the repository${RST}"
echo " ${BWhite}codespell${RST} ${BCyan}Run codespell check for the repository${RST}" echo -e " ${BWhite}codespell${RST} ${BCyan}Run codespell check for the repository${RST}"
echo "" echo ""
} }
run_ruff () { run_ruff () {
echo -e "${BIGreen}>>>${RST} Running Ruff check ..." echo -e "${BIGreen}>>>${RST} Running Ruff check ..."
"$POETRY_HOME/bin/poetry" run ruff "$POETRY_HOME/bin/poetry" run ruff check
} }
run_ruff_check () { run_ruff_check () {
echo -e "${BIGreen}>>>${RST} Running Ruff fix ..." echo -e "${BIGreen}>>>${RST} Running Ruff fix ..."
"$POETRY_HOME/bin/poetry" run ruff --fix "$POETRY_HOME/bin/poetry" run ruff check --fix
} }
run_codespell () { run_codespell () {