first commit
This commit is contained in:
5
backend/scripts/format.sh
Executable file
5
backend/scripts/format.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh -e
|
||||
set -x
|
||||
|
||||
ruff check app scripts --fix
|
||||
ruff format app scripts
|
8
backend/scripts/lint.sh
Normal file
8
backend/scripts/lint.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
mypy app
|
||||
ruff check app
|
||||
ruff format app --check
|
8
backend/scripts/test.sh
Executable file
8
backend/scripts/test.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
coverage run --source=app -m pytest
|
||||
coverage report --show-missing
|
||||
coverage html --title "${@-coverage}"
|
Reference in New Issue
Block a user