updates pre-commit and github action versions #324
Annotations
10 errors and 1 warning
|
ruff (RUF036):
src/undate/converters/calendars/hebrew/converter.py#L62
src/undate/converters/calendars/hebrew/converter.py:62:43: RUF036 `None` not at the end of the type union.
help: Move `None` to the end of the type union
|
|
ruff (RUF036):
src/undate/converters/calendars/gregorian/converter.py#L56
src/undate/converters/calendars/gregorian/converter.py:56:43: RUF036 `None` not at the end of the type union.
help: Move `None` to the end of the type union
|
|
ruff (RUF036):
src/undate/converters/base.py#L198
src/undate/converters/base.py:198:43: RUF036 `None` not at the end of the type union.
help: Move `None` to the end of the type union
|
|
ruff (RUF036):
src/undate/converters/base.py#L163
src/undate/converters/base.py:163:15: RUF036 `None` not at the end of the type union.
help: Move `None` to the end of the type union
|
|
ruff (RUF036):
src/undate/converters/base.py#L161
src/undate/converters/base.py:161:15: RUF036 `None` not at the end of the type union.
help: Move `None` to the end of the type union
|
|
ruff (EXE001):
scripts/generate_gregorian_grammar.py#L1
scripts/generate_gregorian_grammar.py:1:1: EXE001 Shebang is present but file is not executable
|
|
ruff (FURB188):
examples/pgp_dates.ipynb#L1
examples/pgp_dates.ipynb:1:1: FURB188 Prefer `str.removesuffix()` over conditionally replacing with slice.
help: Use removesuffix instead of assignment conditional upon endswith.
|
|
ruff (PIE810):
examples/pgp_dates.ipynb#L1
examples/pgp_dates.ipynb:1:1: PIE810 Call `endswith` once with a `tuple`
help: Merge into a single `endswith` call
|
|
ruff (FURB167):
examples/pgp_dates.ipynb#L1
examples/pgp_dates.ipynb:1:1: FURB167 Use of regular expression alias `re.I`
help: Replace with `re.IGNORECASE`
|
|
ruff (FURB177):
docs/conf.py#L16
docs/conf.py:16:24: FURB177 Prefer `Path.cwd()` over `Path().resolve()` for current-directory lookups
help: Replace `Path().resolve()` with `Path.cwd()`
|
|
check
No file matched to [/home/runner/work/undate-python/undate-python/uv.lock]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|