Skip to content

Commit

Permalink
Improve dev scripts, include black in linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Aug 10, 2024
1 parent 4adb3a8 commit a509f95
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 9 additions & 1 deletion scripts/dev-lint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
#!/usr/bin/env bash

set -euxo pipefail
set -euo pipefail

echo "Execute black..."
black ./

echo "Execute flake8..."
flake8

echo "Execute mypy..."
mypy

echo "Linting complete!"
5 changes: 4 additions & 1 deletion scripts/dev-test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env bash

set -euxo pipefail
set -euo pipefail

echo "Execute pytest..."
pytest

echo "Tests complete!"

0 comments on commit a509f95

Please sign in to comment.