Skip to content

Commit

Permalink
consolidated jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
ERDC\RDITLSCW authored and sdc50 committed Jan 15, 2025
1 parent d837add commit 539dc47
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 32 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/black.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/flake8.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/lint_and_format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Linting and Formatting

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Check out source repository
uses: actions/checkout@v3
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: flake8 Lint
uses: py-actions/flake8@v2
with:
ignore: "E203"
max-line-length: "120"
format:
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check"

0 comments on commit 539dc47

Please sign in to comment.