Skip to content

Commit

Permalink
Merge pull request NHERI-SimCenter#67 from ioannis-vm/2024-08_lint
Browse files Browse the repository at this point in the history
Linting updates.
  • Loading branch information
zsarnoczay authored Oct 28, 2024
2 parents 80cfc9b + d36706a commit 3333110
Show file tree
Hide file tree
Showing 124 changed files with 7,323 additions and 6,844 deletions.
4 changes: 0 additions & 4 deletions .flake8

This file was deleted.

11 changes: 11 additions & 0 deletions .github/workflows/format_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Ruff format
on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
args: 'format --check'
version: 0.7.0
10 changes: 10 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Ruff check
on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
version: 0.7.0
15 changes: 15 additions & 0 deletions .github/workflows/spell_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Spell Check

on: [push, pull_request]

jobs:
spell-check:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Run codespell
uses: codespell-project/actions-codespell@v2

4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ __pycache__
flycheck*.py
/notes/
/.ropeproject/

/doc_src/
/doc/build/
/doc/source/api_reference/_autosummary
Loading

0 comments on commit 3333110

Please sign in to comment.