diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 463e37c..e5a7c87 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -9,6 +9,10 @@ on: pull_request: branches: [ "master" ] +env: + PROJECT_SRC_REL: "src/algobench" + PROJECT_SETUP: "setup.py" + permissions: contents: read @@ -32,6 +36,6 @@ jobs: - name: Lint run: | - black src/algobench/ setup.py --check - flake8 src/algobench/ setup.py . + black $PROJECT_SRC_REL $PROJECT_SETUP --check + flake8 $PROJECT_SRC_REL $PROJECT_SETUP .