This repository has been archived by the owner on Jul 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add github action to automatically check jobs
Added black, flake8. and building the python package.
- Loading branch information
Showing
6 changed files
with
76 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Python Suite | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.10" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: Check with black | ||
run: | | ||
black . --check | ||
- name: Lint with flake8 | ||
run: | | ||
flake8 . --count --statistics --show-source | ||
- name: Build PyPi Package | ||
run: | | ||
python -m build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,50 @@ | ||
black==23.3.0 | ||
bleach==6.0.0 | ||
blessed==1.20.0 | ||
build==0.10.0 | ||
certifi==2022.12.7 | ||
cffi==1.15.1 | ||
charset-normalizer==3.1.0 | ||
click==8.1.3 | ||
colorama==0.4.6 | ||
commonmark==0.9.1 | ||
cryptography==40.0.2 | ||
docutils==0.19 | ||
flake8==6.0.0 | ||
idna==3.4 | ||
importlib-metadata==6.6.0 | ||
inquirer==3.1.3 | ||
jaraco.classes==3.2.3 | ||
jeepney==0.8.0 | ||
keyring==23.13.1 | ||
markdown-it-py==2.2.0 | ||
mccabe==0.7.0 | ||
mdurl==0.1.2 | ||
more-itertools==9.1.0 | ||
mypy-extensions==1.0.0 | ||
packaging==23.1 | ||
pathspec==0.11.1 | ||
pkginfo==1.9.6 | ||
platformdirs==3.5.1 | ||
pycodestyle==2.10.0 | ||
pycparser==2.21 | ||
pyflakes==3.0.1 | ||
Pygments==2.15.1 | ||
pyproject_hooks==1.0.0 | ||
python-editor==1.0.4 | ||
readchar==4.0.5 | ||
readme-renderer==37.3 | ||
requests==2.28.2 | ||
requests-toolbelt==0.10.1 | ||
rfc3986==2.0.0 | ||
rich==12.6.0 | ||
SecretStorage==3.3.3 | ||
shellingham==1.5.0.post1 | ||
six==1.16.0 | ||
tomli==2.0.1 | ||
twine==4.0.2 | ||
typer==0.7.0 | ||
urllib3==1.26.15 | ||
wcwidth==0.2.6 | ||
webencodings==0.5.1 | ||
zipp==3.15.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
from datetime import datetime, timedelta | ||
|
||
import typer | ||
|
||
from assignment_manager import assignments | ||
|