Closed mborsetti closed 2 months ago
I guess pre-commit
did not run automatically. And when run manually it doesn't do anything:
~\Documents\python\git_repos\python-holidays git:[sg_2025]
pre-commit
check python ast.....................................(no files to check)Skipped
check builtin type constructor use...................(no files to check)Skipped
check yaml...........................................(no files to check)Skipped
fix end of files.....................................(no files to check)Skipped
fix python encoding pragma (deprecated)..............(no files to check)Skipped
mixed line ending....................................(no files to check)Skipped
trim trailing whitespace.............................(no files to check)Skipped
ruff.................................................(no files to check)Skipped
ruff-format..........................................(no files to check)Skipped
check license headers................................(no files to check)Skipped
isort................................................(no files to check)Skipped
mypy.................................................(no files to check)Skipped
rstcheck.............................................(no files to check)Skipped
rst ``code`` is two backticks........................(no files to check)Skipped
tox-ini-fmt..........................................(no files to check)Skipped
Oh, I see it doesn't even have black
or similar code formatter -- this was supposed to be a quick contribution, not a belabored one, and for those I rely on those automated tools to do the spacing cleanup for me.
Hopefully I manually caught everything; if not, would you be so kind to fix? Thx
BTW amazing progress -- I didn't have any time to look outside of this file, but love the structure (and hopefully runs much faster too!)
Failed conditions
8.7% Duplication on New Code (required ≤ 3%)
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
b536cfc
) to head (24d8d6d
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Proposed change
Added 2025 official holidays for Singapore
Source: Official Government news release at https://www.mom.gov.sg/newsroom/press-releases/2024/0805-public-holidays-for-2025
Testing source: official dates at https://www.mom.gov.sg/employment-practices/public-holidays
Type of change
Checklist
make pre-commit
, it didn't generate any changes Not working, but Git runs it automaticallymake test
, all tests passed locally Not working, but ran it manually from IDE