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

Support datetime + URL settings that strip the leading zero #19

Merged
merged 4 commits into from
Jul 16, 2021

Conversation

MinchinWeb
Copy link
Member

Building on the groundwork of getpelican/pelican#2902, this aims to support Pelican's custom strftime implementation to allow striping of leading zeros.

Also, it adds better logging for when a filter errors out or pre-commit black does.

Also adds a couple more tests.

@MinchinWeb MinchinWeb requested a review from justinmayer July 12, 2021 19:47
Copy link
Collaborator

@justinmayer justinmayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! I made a few minor suggestions. Regarding the Black-related changes, I think those are better submitted in a separate pull request since they seem to be unrelated to the objective of this PR.

I updated linter versions in master, so I recommend dropping the 69e3e7b commit and rebasing this PR on master.

.pre-commit-config.yaml Outdated Show resolved Hide resolved
RELEASE.md Outdated Show resolved Hide resolved
RELEASE.md Outdated Show resolved Hide resolved
RELEASE.md Outdated Show resolved Hide resolved
Update format (and Changelog format) as per review notes
@MinchinWeb
Copy link
Member Author

@justinmayer Updated, and ready to go!

Copy link
Collaborator

@justinmayer justinmayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work on this, @MinchinWeb! ✨

@justinmayer justinmayer merged commit f753f8c into master Jul 16, 2021
@justinmayer justinmayer deleted the error-logging branch July 16, 2021 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants