Skip to content

Commit

Permalink
Update deps and workflows, and reformat tyings
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed May 29, 2024
1 parent 94c5c0f commit a9f5b6b
Show file tree
Hide file tree
Showing 8 changed files with 668 additions and 452 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ jobs:
uses: actions/checkout@v4

- name: Create release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
name: yao ${{ github.ref_name }}

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'

- name: Install dependencies
run: |
Expand Down
1,104 changes: 661 additions & 443 deletions poetry.lock

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,20 @@ fast = true
[tool.ruff]
line-length = 88
target-version = 'py312'

[tool.ruff.lint]
select = ["E", "F", "I"]
unfixable = ["F841"]

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F403", "E402", "F401"]

[tool.ruff.isort]
[tool.ruff.lint.isort]
known-first-party = ["yao"]
lines-after-imports = 2
section-order = ["future", "standard-library", "typing", "third-party", "sdss", "first-party", "local-folder"]

[tool.ruff.isort.sections]
[tool.ruff.lint.isort.sections]
typing = ["typing"]
sdss = ["sdsstools", "archon"]

Expand Down
1 change: 0 additions & 1 deletion typings/astropy/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from typing import Any


def __getattr__(name: str) -> Any: ...
1 change: 0 additions & 1 deletion typings/astropy/io/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from typing import Any


def __getattr__(name: str) -> Any: ...
1 change: 0 additions & 1 deletion typings/astropy/io/fits/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from typing import Any


def __getattr__(name: str) -> Any: ...
1 change: 0 additions & 1 deletion typings/astropy/time/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from typing import Any


def __getattr__(name: str) -> Any: ...
1 change: 0 additions & 1 deletion typings/astropy/wcs/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from typing import Any


def __getattr__(name: str) -> Any: ...

0 comments on commit a9f5b6b

Please sign in to comment.