add scripts to run tests and linter
This commit is contained in:
parent
82e6c80933
commit
5969cd0268
2 changed files with 6 additions and 0 deletions
4
tools/run_linter
Executable file
4
tools/run_linter
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
# Run within root directory. Runs isort, black, then pylint
|
||||
isort .
|
||||
black .
|
||||
pylint ytdl_subscribe/
|
||||
2
tools/run_tests
Executable file
2
tools/run_tests
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
# Run within root folder. Runs tests with coverage, and reports it to html
|
||||
coverage run -m pytest && coverage html
|
||||
Loading…
Reference in a new issue