Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v5
with:
version: "0.6.x"
enable-cache: true
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ci:
autoupdate_schedule: monthly
autoupdate_schedule: quarterly

repos:
- repo: https://github.com/psf/black
Expand All @@ -12,7 +12,7 @@ repos:
- id: isort
name: isort
- repo: https://github.com/pycqa/flake8
rev: 7.1.2
rev: 7.2.0
hooks:
- id: flake8
additional_dependencies:
Expand All @@ -35,6 +35,6 @@ repos:
- id: python-check-blanket-type-ignore
- id: python-use-type-annotations
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.9
rev: v0.11.4
hooks:
- id: ruff
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@
name = "skyportal"
version = "2.0.0"
description = "A CircuitPython based flight tracker."
license = "MIT"
license-files = ["LICENSE"]
authors = [
{name = "sco1", email = "sco1.git@gmail.com"}
]
maintainers = [
{name = "sco1", email = "sco1.git@gmail.com"}
]

readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: Other OS",
"Programming Language :: Python :: Implementation :: MicroPython",
"Programming Language :: Python :: 3 :: Only",
Expand All @@ -29,7 +27,7 @@ dependencies = []
[project.urls]
Homepage = "https://github.com/sco1/"
Documentation = "https://github.com/sco1/skyportal/blob/main/README.md"
Repository = "https://github.com/sco1/skyportal"
Repository = "https://github.com/sco1/skyportal.git"
Issues = "https://github.com/sco1/skyportal/issues"
Changelog = "https://github.com/sco1/skyportal/blob/main/CHANGELOG.md"

Expand Down
2 changes: 1 addition & 1 deletion skyportal/displaylib.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,4 +494,4 @@ def dist(p: tuple[int, int], q: tuple[int, int]) -> float:
Taken from https://docs.python.org/3/library/math.html#math.dist since CircuitPython's `math`
library doesn't have this yet.
"""
return math.sqrt(sum((px - qx) ** 2.0 for px, qx in zip(p, q)))
return math.sqrt(sum((px - qx) ** 2.0 for px, qx in zip(p, q, strict=False)))
Loading