Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): update black requirement from ^23.1 to >=23.1,<25.0 #72

Closed
Closed
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/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
os:
- ubuntu-latest
- macos-11.0
- macos-latest
- windows-latest
python_version:
- '3.8'
Expand Down
20 changes: 11 additions & 9 deletions kosmorrolib/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,15 +283,17 @@ def __repr__(self):
def serialize(self) -> dict:
return {
"object": self.object.serialize(),
"rise_time": self.rise_time.isoformat()
if self.rise_time is not None
else None,
"culmination_time": self.culmination_time.isoformat()
if self.culmination_time is not None
else None,
"set_time": self.set_time.isoformat()
if self.set_time is not None
else None,
"rise_time": (
self.rise_time.isoformat() if self.rise_time is not None else None
),
"culmination_time": (
self.culmination_time.isoformat()
if self.culmination_time is not None
else None
),
"set_time": (
self.set_time.isoformat() if self.set_time is not None else None
),
}


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ skyfield-data = ">=3,<6"
python-dateutil = "^2.8"

[tool.poetry.group.dev.dependencies]
black = "^23.1"
black = ">=23.1,<25.0"
parameterized = "^0.9.0"
coverage = "^6.1.2"
coveralls = "^3.3.1"
Expand Down
Loading