Skip to content

Commit

Permalink
try to set up linter
Browse files Browse the repository at this point in the history
  • Loading branch information
k-rieck committed Sep 17, 2024
1 parent 85364c0 commit c4b89c2
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/codequality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: code_quality

on:
push:
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install prospector[with_everything]
pip install prospector[with-everything]
pip install prospector[with_bandit]
pip install prospector[with_mypy]
pip install prospector[with_pyroma]
pip install prospector[with_vulture]
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install -e .
- name: Lint with prospector
working-directory: ./
run: |
prospector building_sizer/

0 comments on commit c4b89c2

Please sign in to comment.