Skip to content

Commit

Permalink
name
Browse files Browse the repository at this point in the history
  • Loading branch information
bloombar committed Nov 15, 2023
1 parent 2e5fff4 commit 48fdd74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Python Lint and Format
on: [push, pull_request]
on: [push]

jobs:
lint:
Expand All @@ -9,17 +9,16 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pipenv
pipenv --python $(which python)
PIPENV_SHELL_FANCY=1
pipenv shell
- name: Lint check
- name: Lint with pylint
run: |
pylint **/*.py
- name: Format check
- name: Format with black
run: |
black --diff --check **/*.py
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ black = "*"
[dev-packages]

[requires]
python_version = "3.9"
python_version = "3.10"

0 comments on commit 48fdd74

Please sign in to comment.