Skip to content

Commit a808a50

Browse files
committed
chore: add pre-commit github action
1 parent 0c5cf4e commit a808a50

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/cicd.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
on:
2+
- push
3+
4+
jobs:
5+
lint:
6+
runs-on: ubuntu-latest
7+
8+
steps:
9+
- uses: actions/checkout@v4
10+
11+
- name: Install uv
12+
uses: astral-sh/setup-uv@v4
13+
14+
- name: Run pre-commit
15+
run: uv run pre-commit

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ known_first_party = ["stac_auth_proxy"]
2929
profile = "black"
3030

3131
[tool.ruff]
32-
ignore = ["E501"]
32+
ignore = ["E501", "D203", "D212"]
3333
select = ["D", "E", "F"]
3434

3535
[build-system]

0 commit comments

Comments
 (0)