pelican/pelican
Yashas Lokesh 543424aa41
fix: Fix auto-reload with globs in IGNORE_FILES (#3441)
The default `IGNORE_FILES` value of `'.*'` was being compiled to a regular expression and then passed into `watchfiles.DefaultFilter` to filter out files when auto-reload is enabled.

This commit compares the patterns from `IGNORE_FILES` directly with the filename to match the usage of `fnmatch` elsewhere in the codebase. The new filtering class will continue working as expected for custom `IGNORE_FILES` settings.
2025-01-15 17:40:27 +01:00
..
plugins The ruff and ruff-format fixes 2024-05-30 09:08:16 -05:00
tests fix: Fix auto-reload with globs in IGNORE_FILES (#3441) 2025-01-15 17:40:27 +01:00
themes Add block name in endblock 2025-01-15 11:58:05 +01:00
tools Drop support for EOL Python 3.8 2024-12-21 15:53:13 +02:00
__init__.py Don't store a RichHandler object in the argparse namespace (#3394) 2024-09-20 18:49:23 +02:00
__main__.py The ruff and ruff-format fixes 2024-05-30 09:08:16 -05:00
cache.py Apply code style to project via: ruff format . 2023-10-29 22:18:29 +01:00
contents.py Drop support for EOL Python 3.8 2024-12-21 15:53:13 +02:00
generators.py Drop support for EOL Python 3.8 2024-12-21 15:53:13 +02:00
log.py Choose logging handler via --log-handler CLI option (#3293) 2024-05-30 17:13:27 +02:00
paginator.py Fixes in files for ruff T201, RUF001, PLR2004, B904, SLOT000, PYI024, PIE800 2024-05-31 10:41:24 -05:00
readers.py feat: Add setting to omit selected Typogrify filters. Fixes #3436 (#3439) 2025-01-14 12:48:39 +01:00
rstdirectives.py More ruff fixes in files: stop ignoring C408, UP007, PLR5501, B006 2024-05-30 13:21:12 -05:00
server.py Fixes in files for ruff T201, RUF001, PLR2004, B904, SLOT000, PYI024, PIE800 2024-05-31 10:41:24 -05:00
settings.py fix: Fix auto-reload with globs in IGNORE_FILES (#3441) 2025-01-15 17:40:27 +01:00
signals.py Apply code style to project via: ruff format . 2023-10-29 22:18:29 +01:00
urlwrappers.py More ruff fixes in files: stop ignoring C408, UP007, PLR5501, B006 2024-05-30 13:21:12 -05:00
utils.py fix: Fix auto-reload with globs in IGNORE_FILES (#3441) 2025-01-15 17:40:27 +01:00
writers.py ruff UP031 in files: use format specifiers instead of percent format 2024-06-01 16:00:17 -05:00