Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Athish Thiruvengadam committed Oct 7, 2024
2 parents d1309c5 + d285741 commit f536181
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 53 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ jobs:
with:
python-version: '3.12'

- name: Install dependencies
run: pip install pre-commit poetry

- name: Run pre-commit checks
run: pre-commit run --all-files
uses: pre-commit/[email protected]

- name: Install poetry
run: pip install poetry

- name: Install package
run: poetry install --all-extras
Expand All @@ -82,3 +82,5 @@ jobs:

- name: Upload coverage to codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
8 changes: 1 addition & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,10 @@ repos:
exclude_types: [python] # Covered by Ruff W291.
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.5.5
rev: v0.6.8
hooks:
# Run the linter.
- id: ruff
args: ["--extend-select", "I", "--fix"]
# Run the formatter.
- id: ruff-format
- repo: https://github.com/python-poetry/poetry
rev: "1.8.3"
hooks:
- id: poetry-check
- id: poetry-lock
args: ["--no-update"]
77 changes: 36 additions & 41 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ astropy = "*"
click = "^8.1.7"
gcn-kafka = "^0.3.3"
numpy = "*"
prometheus-client = "^0.20.0"
prometheus-client = "^0.21.0"
python = "^3.9"
pygcn = "^1.1.3"

Expand Down

0 comments on commit f536181

Please sign in to comment.