Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
minor linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
seekinginfiniteloop committed Jan 16, 2024
1 parent a29f1e4 commit e7cdbcc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fedcal/_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

if TYPE_CHECKING:
from fedcal.utils import YearMonthDay
from fedcal.enum import Dept, DeptStatus
from fedcal.enum import Dept, DeptStatus, EnumBase

TimestampSeries = "Series[Timestamp]"

Expand Down
3 changes: 2 additions & 1 deletion fedcal/fedindex.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ def __getattr__(self, name: str) -> Any:
AttributeError
if attribute can't be found
"""
# this shouldn't be necessary, but... seems to be until I can work it out.
# this shouldn't be necessary, but...
# seems to be until I can work out why
if name in type(self).__dict__:
return type(self).__dict__[name].__get__(self, type(self))

Expand Down
2 changes: 1 addition & 1 deletion fedcal/fedstamp.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ def get_departments_by_status(self, status_key: str):
"""
pass

@property
@property
def departments(self) -> set[str]:
"""
Retrieves the set of executive departments active on the date.
Expand Down

0 comments on commit e7cdbcc

Please sign in to comment.