Skip to content

Commit

Permalink
Merge pull request #76 from Autodesk/major-refactoring
Browse files Browse the repository at this point in the history
Major refactoring
  • Loading branch information
mehdiataei authored Oct 22, 2024
2 parents 690ff8f + 55e2921 commit 24f0ff5
Show file tree
Hide file tree
Showing 123 changed files with 8,372 additions and 4,419 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Lint

on:
pull_request:
branches:
- major-refactoring # Remember to add main branch later

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff
run: ruff check .
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Thumbs.db
__pycache__/
*.py[cod]
*$py.class

**pyc
# C extensions
*.so

Expand Down
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.6
hooks:
- id: ruff
args: [--fix]
195 changes: 0 additions & 195 deletions examples/CFD/airfoil3d.py

This file was deleted.

96 changes: 0 additions & 96 deletions examples/CFD/cavity2d.py

This file was deleted.

Loading

0 comments on commit 24f0ff5

Please sign in to comment.