ci: added flake8
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index c67c0e8..ff73e69 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -41,3 +41,24 @@
uses: psf/black@stable
with:
src: ./atmosphere
+
+ flake8:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout project
+ uses: actions/checkout@v3.0.2
+
+ - name: Install Poetry
+ run: pipx install poetry
+
+ - name: Setup Python
+ uses: actions/setup-python@v4.2.0
+ with:
+ cache: poetry
+
+ - name: Install dependencies
+ run: poetry install --no-interaction
+
+ - name: Run Flake8
+ run: poetry run flake8 ./atmosphere
+