This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
forked from yandex-praktikum/taski-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
32 additions
and
6 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 |
---|---|---|
@@ -1,13 +1,24 @@ | ||
name: Main Taski Workflow | ||
name: Main Taski workflow | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
checkout-and-print-tree: | ||
tests: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- name: Print project tree | ||
run: tree . | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install flake8==6.0.0 flake8-isort==6.0.0 | ||
- name: Test with flake8 | ||
run: python -m flake8 backend/ |
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,15 @@ | ||
[flake8] | ||
ignore = | ||
W503, | ||
F811 | ||
exclude = | ||
tests/, | ||
*/migrations/, | ||
venv/, | ||
*/venv/, | ||
.venv/, | ||
*/.venv/, | ||
env/, | ||
*/env/, | ||
per-file-ignores = | ||
*/settings.py:E501 |