From 48fdd7400e362713f350b77134e0ffc7db234a43 Mon Sep 17 00:00:00 2001 From: bloombar Date: Wed, 15 Nov 2023 03:39:02 -0500 Subject: [PATCH] name --- .github/workflows/lint.yml | 9 ++++----- Pipfile | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1a5d8e1..d5e72f8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,5 +1,5 @@ name: Python Lint and Format -on: [push, pull_request] +on: [push] jobs: lint: @@ -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 diff --git a/Pipfile b/Pipfile index f779d4e..5af9db0 100644 --- a/Pipfile +++ b/Pipfile @@ -10,4 +10,4 @@ black = "*" [dev-packages] [requires] -python_version = "3.9" +python_version = "3.10"