Commit graph

83 commits

Author SHA1 Message Date
ad89db7a31 Doc improvements 2025-05-20 14:49:10 +02:00
jepler (github actions cron)
92a5afdfd5 update iersdata 2025-05-02 16:06:12 +00:00
ec68ed225f Additional error checking in from_timecode_am
the change from using reversed() is because the pos sequence is now
traversed twice.
2025-04-24 18:31:34 +02:00
6b57582d3e
Merge pull request #137 from jepler/dst-enum
Use an enum for DST status
2025-04-21 09:18:11 +02:00
6de67679a5 Use an enum for DST status 2025-04-21 07:56:30 +02:00
66d4b32bf0 Simplify Generator[] annotation 2025-04-21 07:51:40 +02:00
4e0d7a9743 wwvbtk: Use datetime for timekeeping
I don't know if it's *better* but `WWVBMinuteIERS(*key)` rubbed me
the wrong way.
2025-04-21 07:50:44 +02:00
aae3828270 wwvbtk: Improve --help message. 2025-04-20 13:25:31 +02:00
16090774ed fix type hints 2025-04-17 19:20:54 +02:00
f5314e2a7c improve documentation of --colors
though it's still not super helpful
2025-04-17 19:18:53 +02:00
77cfe3d79a No need for threading here. 2025-04-17 19:18:21 +02:00
jepler (github actions cron)
636d2d8282 update iersdata 2025-04-02 10:05:51 +00:00
d7a80f0cd9 remove debugging print 2025-03-17 16:25:30 -05:00
e093019b91 churn to appease ruff 2025-03-17 16:24:42 -05:00
jepler (github actions cron)
b5f9b04991 update iersdata 2025-03-02 10:04:43 +00:00
jepler (github actions cron)
82e253c54b update iersdata 2025-02-02 10:04:43 +00:00
jepler (github actions cron)
e118927173 update iersdata 2025-01-02 10:04:51 +00:00
jepler (github actions cron)
b6797c531e update iersdata 2024-12-02 10:05:59 +00:00
pre-commit-ci[bot]
fe8dd909c6 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-11-25 23:24:03 +00:00
jepler (github actions cron)
13e0da844d update iersdata 2024-11-02 10:04:47 +00:00
pre-commit-ci[bot]
167f3cfc3b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-10-08 01:07:14 +00:00
jepler (github actions cron)
e8b05c3868 update iersdata 2024-10-02 10:07:14 +00:00
856f28226d Store iersdata as json
this avoids problems with ruff wanting to format the file,
which occurred with a recent ruff update (ruff doesn't obey
"fmt: off" I guess)
2024-09-02 22:12:36 -05:00
jepler (github actions cron)
378fed2b0a update iersdata 2024-09-02 10:04:53 +00:00
9a3b8b3d61 re-format code with ruff 2024-08-05 19:09:46 +03:00
jepler (github actions cron)
bc23114862 update iersdata 2024-08-02 10:04:46 +00:00
3ed08f1879 Update copyright years 2024-07-14 15:07:47 -05:00
6de292a092 Use combine(tzinfo=) not combine().replace(tzinfo=)
this was added in 3.6, no reason not to use it
2024-07-14 14:34:50 -05:00
f6ac384455 Put coverage ignore patterns in coveragerc 2024-07-14 14:34:33 -05:00
77beefcf9e no expectation to cover the TYPE_CHECKING-only code 2024-07-14 12:04:43 -05:00
27d87052de Fix whitespace in one test 2024-07-14 12:00:08 -05:00
c348e71412 Fix some pre-commit errors that crept in 2024-07-14 12:00:01 -05:00
87b6236416 Move tests out of distribution 2024-07-14 11:49:02 -05:00
0a716adb38 doc improvements & make more methods private 2024-07-08 21:22:34 -05:00
ca0691e667 Mark private methods & functions with underscore 2024-07-08 19:12:51 -05:00
3fea11600d Get rid of DateOrDatetime
.. and just require these routines to take Date objects only.
2024-07-08 19:07:14 -05:00
7e188089b2 Enable a bunch more ruff diagnostics 2024-07-07 22:06:16 -05:00
jepler (github actions cron)
e9273d5602 update iersdata 2024-07-02 10:05:06 +00:00
jepler (github actions cron)
26da7328ab update iersdata 2024-06-02 10:04:25 +00:00
jepler (github actions cron)
a10414cfb4 update iersdata 2024-05-02 10:04:40 +00:00
fc7ba2820f Remove pylint directives generally 2024-04-03 07:57:58 -05:00
2ce05f4804 Prevent ruff from formatting iersdata
A ruff update added a blank line before the docstring. Prevent it
by moving the fmt:off directive even earlier.
2024-04-03 07:55:31 -05:00
jepler (github actions cron)
6dcdcb54a5 update iersdata 2024-04-02 10:04:27 +00:00
pre-commit-ci[bot]
531bb18cfa [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-18 22:37:53 +00:00
jepler (github actions cron)
0a89731131 update iersdata 2024-03-02 10:04:14 +00:00
jepler (github actions cron)
b818f3a193 update iersdata 2024-02-02 10:04:38 +00:00
jepler (github actions cron)
44258da992 update iersdata 2024-01-02 10:04:22 +00:00
9a708e77ea
Merge pull request #72 from jepler/ruff-linter
Use ruff as linter, instead of black+isort+pylint
2023-12-02 12:44:15 -06:00
dd93bbb88e
avoid use of try/except here 2023-12-02 12:01:45 -06:00
323a75a99a
switch to ruff as linter 2023-12-02 11:43:24 -06:00