Skip to content

Commit

Permalink
Add new scripts for CI/CD (local)
Browse files Browse the repository at this point in the history
  • Loading branch information
Athroniaeth committed Feb 3, 2024
1 parent 6fee861 commit 633da14
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/bandit.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
poetry run bandit -c pyproject.toml -r src
5 changes: 5 additions & 0 deletions scripts/ci_cd.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
call scripts/coverage.bat
call scripts/ruff.bat
call scripts/mypy.bat
call scripts/bandit.bat
call scripts/sphinx.bat
1 change: 1 addition & 0 deletions scripts/mypy.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
poetry run mypy src
2 changes: 2 additions & 0 deletions scripts/ruff.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
poetry run ruff check
poetry run ruff format --diff
Empty file removed scripts/sphinx-build
Empty file.
1 change: 1 addition & 0 deletions scripts/sphinx.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sphinx-build -M html docs/source docs/build/

0 comments on commit 633da14

Please sign in to comment.