From 984ae9bcf1a876e25f6f23d5902a4ae5b47e4b65 Mon Sep 17 00:00:00 2001 From: erickTornero Date: Sat, 24 Jan 2026 01:42:24 -0500 Subject: [PATCH 1/2] add: basic worflow --- .github/workflows/lint.yaml | 23 +++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 24 insertions(+) create mode 100644 .github/workflows/lint.yaml diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 0000000..9a8ba2a --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,23 @@ +name: Lint & Format +on: [ pull_request ] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Python + uses: actions/setup-python@v5 + with: + python-version: "3.12" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install ruff + # Update output format to enable automatic inline annotations. + - name: Run Linting & Formatting + run: ruff check + - name: Build release distributions + run: | + # NOTE: put your own distribution build steps here. + python -m pip install build + python -m build diff --git a/.gitignore b/.gitignore index d840ce2..9ff80ee 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ *.pckl *.vscode* *outputs* +dist/* From ef3df65d59d494fb024c98300314bc47ce7bb240 Mon Sep 17 00:00:00 2001 From: erickTornero Date: Sat, 24 Jan 2026 01:45:52 -0500 Subject: [PATCH 2/2] mod: exclude legacy from lint check --- .github/workflows/{lint.yaml => lint_build.yaml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{lint.yaml => lint_build.yaml} (93%) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint_build.yaml similarity index 93% rename from .github/workflows/lint.yaml rename to .github/workflows/lint_build.yaml index 9a8ba2a..51267a7 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint_build.yaml @@ -15,7 +15,7 @@ jobs: pip install ruff # Update output format to enable automatic inline annotations. - name: Run Linting & Formatting - run: ruff check + run: ruff check --exclude legacy/ - name: Build release distributions run: | # NOTE: put your own distribution build steps here.