Skip to content

Conversation

@tr33k
Copy link
Contributor

@tr33k tr33k commented Apr 26, 2025

Proposed change

Added missing holidays for the Tamil Nadu subdivision (India).

Notably, Pongal and Marker Sankranti dates differ slightly. To handle this correctly, I introduced a separate add_pongal() method for Pongal-related holidays.

For accurate historical data, I referred to:
Tamil Daily Calendar (2005–2025)

Prokerala Tamil Calendar (2001–2005)

The sequence of holidays around Pongal is:

  1. Bhogi (not declared as a public holiday)

  2. Pongal (Main festival)

  3. Thiruvalluvar Day (the day after Pongal)

  4. Uzhavar Thirunal (the day after Thiruvalluvar Day)

This structure aligns with the traditional four-day Pongal celebrations in Tamil Nadu.

Type of change

  1. Added missing public and optional holidays.

  2. Created a new add_pongal() function for better handling of Pongal-related holidays.

Closes #2500

  • New country/market holidays support (thank you!)
  • Supported country/market holidays update (calendar discrepancy fix, localization)
  • Existing code/documentation/test/process quality improvement (best practice, cleanup, refactoring, optimization)
  • Dependency update (version deprecation/pin/upgrade)
  • Bugfix (non-breaking change which fixes an issue)
  • Breaking change (a code change causing existing functionality to break)
  • New feature (new holidays functionality in general)

Checklist

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Apr 26, 2025

Summary by CodeRabbit

  • New Features
    • Added Pongal, Thiruvalluvar Day / Mattu Pongal, and Uzhavar Thirunal as official holidays for Tamil Nadu, India.
  • Localization
    • Introduced translations for Thiruvalluvar Day / Mattu Pongal and Uzhavar Thirunal in Hindi and English (India and US variants).
  • Documentation
    • Updated references for Tamil Nadu holidays in the documentation.
  • Tests
    • Expanded test coverage to verify the addition and localization of the new Tamil Nadu holidays.

Summary by CodeRabbit

  • New Features

    • Added Pongal, Thiruvalluvar Day / Mattu Pongal, and Uzhavar Thirunal as recognized holidays for Tamil Nadu, India.
    • These holidays are now included in holiday listings and date calculations for the Tamil Nadu region.
  • Localization

    • Introduced translations for Thiruvalluvar Day / Mattu Pongal and Uzhavar Thirunal in Hindi and Indian English locales.
    • Updated translation files to reflect the new holidays.
  • Tests

    • Extended test coverage to verify the new holidays and their localized names for Tamil Nadu.

Walkthrough

This update introduces three new Hindu holidays—Pongal, Thiruvalluvar Day / Mattu Pongal, and Uzhavar Thirunal—into the holiday calendar logic and Tamil Nadu's public holidays. The changes include new constants, date mappings, and methods for these holidays in the core calendar module, new methods in the Hindu holiday group, and updates to Tamil Nadu's holiday population method. Localization files for English (India and US) and Hindi are updated with entries for the new holidays, and tests are expanded to cover these additions and their localized names.

Changes

Files/Paths Change Summary
holidays/calendars/hindu.py Added constant PONGAL, date mappings for Pongal (2001–2035), and method to retrieve Pongal date.
holidays/groups/hindu.py Added methods _add_pongal, _add_thiruvalluvar_day, and _add_uzhavar_thirunal to add these holidays.
holidays/countries/india.py Modified Tamil Nadu subdivision holiday population to replace Makar Sankranti with Pongal and add Thiruvalluvar Day and Uzhavar Thirunal.
holidays/locale/en_IN/LC_MESSAGES/IN.po
holidays/locale/en_US/LC_MESSAGES/IN.po
holidays/locale/hi/LC_MESSAGES/IN.po
Added new translation entries for "Thiruvalluvar Day / Mattu Pongal" and "Uzhavar Thirunal"; updated project version.
tests/countries/test_india.py Added tests for the new Tamil Nadu holidays and their localized names for multiple years.

Assessment against linked issues

Objective Addressed Explanation
Add missing "Thiruvalluvar Day" and "Uzhavar Thinam" as separate holidays for Tamil Nadu (#2500)
Separate Pongal from Makar Sankranti to reflect correct dates in Tamil Nadu (#2500)
Ensure holidays are correctly added only for Tamil Nadu subdivision (#2500)

Suggested reviewers

  • KJhellico
  • PPsyrius

📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7fa1488 and 7327957.

📒 Files selected for processing (1)
  • holidays/countries/india.py (2 hunks)
🧰 Additional context used
🧬 Code Graph Analysis (1)
holidays/countries/india.py (1)
holidays/groups/hindu.py (3)
  • _add_pongal (259-269)
  • _add_thiruvalluvar_day (321-335)
  • _add_uzhavar_thirunal (337-349)
⏰ Context from checks skipped due to timeout of 300000ms (1)
  • GitHub Check: Test build on windows-latest
🔇 Additional comments (2)
holidays/countries/india.py (2)

40-42: Well-structured documentation addition.

The addition of Tamil calendar references directly supports the new implementation of Tamil Nadu holiday features. Good job including both sources that were used for historical date accuracy.


462-466: Excellent implementation of the Pongal festival sequence.

The implementation now properly handles all three parts of the Pongal festival as separate holidays:

  • Pongal (main festival)
  • Thiruvalluvar Day / Mattu Pongal (day after Pongal)
  • Uzhavar Thirunal (day after Thiruvalluvar Day)

This matches the traditional sequence observed in Tamil Nadu and properly uses the new methods from the Hindu holidays group. The implementation is accurate and consistent with the project's structure.

✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2af98c2 and 59879cd.

📒 Files selected for processing (7)
  • holidays/calendars/hindu.py (5 hunks)
  • holidays/countries/india.py (1 hunks)
  • holidays/groups/hindu.py (2 hunks)
  • holidays/locale/en_IN/LC_MESSAGES/IN.po (2 hunks)
  • holidays/locale/en_US/LC_MESSAGES/IN.po (2 hunks)
  • holidays/locale/hi/LC_MESSAGES/IN.po (2 hunks)
  • tests/countries/test_india.py (4 hunks)
🧰 Additional context used
🧬 Code Graph Analysis (3)
holidays/countries/india.py (1)
holidays/groups/hindu.py (3)
  • _add_pongal (259-269)
  • _add_thiruvalluvar_day (321-335)
  • _add_uzhavar_thirunal (337-349)
holidays/groups/hindu.py (1)
holidays/calendars/hindu.py (3)
  • pongal_date (1390-1391)
  • thiruvalluvar_day_date (1423-1424)
  • uzhavar_thirunal_date (1426-1427)
holidays/calendars/hindu.py (1)
holidays/calendars/buddhist.py (1)
  • _get_holiday (430-434)
🔇 Additional comments (19)
holidays/locale/en_IN/LC_MESSAGES/IN.po (2)

17-17: Project version updated correctly.

Version number has been updated from 0.69 to 0.72, maintaining consistency with other locale files.


309-316: New holiday entries added properly.

The two new holidays for Tamil Nadu - "Thiruvalluvar Day / Mattu Pongal" and "Uzhavar Thirunal" - have been correctly added to the translation file following the existing format. Both entries have empty msgstr fields which is appropriate for the en_IN locale since the original holiday names are already in English.

holidays/locale/en_US/LC_MESSAGES/IN.po (2)

17-17: Project version updated correctly.

Version number has been updated from 0.69 to 0.72, maintaining consistency with other locale files.


310-317: New holiday entries properly added with translations.

The two new holidays for Tamil Nadu - "Thiruvalluvar Day / Mattu Pongal" and "Uzhavar Thirunal" - have been correctly added and translated for the US English locale. The translation strings match the source strings as expected for English variants.

holidays/locale/hi/LC_MESSAGES/IN.po (2)

17-17: Project version updated correctly.

Version number has been updated from 0.69 to 0.72, maintaining consistency with other locale files.


310-316: Hindi translations added correctly for new Tamil Nadu holidays.

The Hindi translations for "Thiruvalluvar Day / Mattu Pongal" (तिरुवल्लुवर दिवस / मट्टू पोंगल) and "Uzhavar Thirunal" (उझावर थिरुनल) have been properly implemented, following the translation pattern for other regional holidays.

tests/countries/test_india.py (4)

149-151: Test coverage added for the new Tamil Nadu holidays.

The test case now correctly verifies the two new Tamil Nadu holidays: Thiruvalluvar Day / Mattu Pongal (Jan 15) and Uzhavar Thirunal (Jan 16) for 2018. This matches the implementation of the Pongal festival sequence.


506-507: Localization test updated with new holiday names.

The default locale test has been properly updated to include the localized names for the newly added Tamil Nadu holidays. This ensures that the holiday names are correctly displayed in the default locale.


574-575: Hindi localization added for the new holidays.

The Hindi locale test has been correctly updated with translated names for the new Tamil Nadu holidays. The translations appear to be appropriate Hindi equivalents for Thiruvalluvar Day / Mattu Pongal and Uzhavar Thirunal.


637-638: US English localization verified for the new holidays.

The US English locale test has been appropriately updated with the English names for the Tamil Nadu holidays. The names match those in the default locale, ensuring consistency across English variants.

holidays/groups/hindu.py (3)

259-270: Well-documented Pongal holiday method added.

The _add_pongal method is well implemented with a comprehensive docstring that clearly explains:

  • What Pongal is (a major harvest festival in Tamil Nadu)
  • When it's observed (January 14-15)
  • Its significance (sun's northward journey, prosperity season)
  • A reference link to Wikipedia

The implementation correctly uses the Hindu calendar to retrieve the appropriate date.


321-336: Clear implementation of Thiruvalluvar Day method.

The _add_thiruvalluvar_day method properly implements the holiday with a thorough docstring explaining:

  • The dual nature of the holiday (Thiruvalluvar Day and Mattu Pongal)
  • The cultural significance of honoring both the Tamil poet and cattle
  • The timing (January 15-16, part of Pongal festival)
  • Wikipedia references for both aspects

The implementation follows the established pattern for adding Hindu calendar holidays.


337-349: Uzhavar Thirunal method completes the Pongal holiday sequence.

The _add_uzhavar_thirunal method rounds out the Pongal festival sequence with:

  • Clear explanation of the farmers' harvest festival
  • Proper timing (January 16-17)
  • Appropriate Wikipedia reference
  • Consistent implementation pattern

This completes the set of methods needed for the Tamil Nadu Pongal festival sequence.

holidays/calendars/hindu.py (6)

38-44: New holiday constants added in alphabetical order.

The new constants PONGAL, THIRUVALLUVAR_DAY, and UZHAVAR_THIRUNAL have been properly added to the list of constants, maintaining the alphabetical ordering that helps with code readability and maintenance.


871-907: Pongal date mappings follow established pattern.

The PONGAL_DATES dictionary is correctly implemented with:

  • Comprehensive coverage from 2001-2035
  • Dates follow the expected January 14-15 pattern (Jan 14 in standard years, Jan 15 in leap years and certain other years)
  • Format consistent with other holiday date mappings

This provides a reliable date source for the Pongal holiday calculations.


1229-1265: Thiruvalluvar Day dates properly mapped.

The THIRUVALLUVAR_DAY_DATES dictionary correctly:

  • Covers years 2001-2035
  • Places the holiday on January 15-16 (the day after Pongal)
  • Maintains the consistent format of other date mappings

This ensures the Thiruvalluvar Day / Mattu Pongal holiday is correctly placed in the sequence of Pongal celebrations.


1267-1303: Uzhavar Thirunal dates complete the festival sequence.

The UZHAVAR_THIRUNAL_DATES dictionary properly:

  • Spans 2001-2035
  • Places the holiday on January 16-17 (the day after Thiruvalluvar Day)
  • Follows the consistent pattern of the other date mappings

This completes the date sequence for the four-day Pongal celebration as observed in Tamil Nadu.


1390-1392: Pongal date retrieval method added.

The pongal_date method correctly implements the date retrieval by calling the common _get_holiday helper with the appropriate constant and year. This follows the established pattern for holiday date access.


1423-1428: Date retrieval methods for other Pongal-related holidays.

The thiruvalluvar_day_date and uzhavar_thirunal_date methods correctly implement the date retrieval functionality following the established pattern of other holiday date methods in the class. These complete the API needed for the Tamil Nadu holidays.

@codecov
Copy link

codecov bot commented Apr 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (856390c) to head (7327957).
Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff            @@
##               dev     #2502   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          215       215           
  Lines        13588     13600   +12     
  Branches      1931      1931           
=========================================
+ Hits         13588     13600   +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@KJhellico KJhellico changed the title add missing public holidays for Tamil Nadu subdivision Update India holidays: add missing Tamil Nadu holidays Apr 26, 2025
Co-authored-by: ~Jhellico <[email protected]>
Signed-off-by: Devaraj K <[email protected]>
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🔭 Outside diff range comments (1)
holidays/groups/hindu.py (1)

30-42: 🛠️ Refactor suggestion

Method signature needs updating for new use cases

The existing _add_hindu_calendar_holiday method doesn't support the days_delta parameter needed by the new holiday methods.

As suggested in previous review comments, you should update this method to include the days_delta parameter:

    def _add_hindu_calendar_holiday(
-        self, name: str, dt_estimated: tuple[Optional[date], bool]
+        self, name: str, dt_estimated: tuple[Optional[date], bool], days_delta: int = 0
    ) -> Optional[date]:
        """
        Add Hindu calendar holiday.

        Adds customizable estimation label to holiday name if holiday date
        is an estimation.
        """

        return self._add_eastern_calendar_holiday(
-            name, dt_estimated, self._hindu_calendar_show_estimated
+            name, dt_estimated, self._hindu_calendar_show_estimated, days_delta
        )

This approach would make the new method calls work correctly and eliminate the need for separate calendar constants for related holidays.

♻️ Duplicate comments (1)
holidays/groups/hindu.py (1)

337-349: ⚠️ Potential issue

Parameter mismatch in method call

The same issue exists here - the _add_hindu_calendar_holiday method doesn't accept a days_delta parameter.

Apply the same fix pattern as for the previous method:

-        return self._add_hindu_calendar_holiday(
-            name, self._hindu_calendar.pongal_date(self._year), days_delta=+2
-        )
+        return self._add_eastern_calendar_holiday(
+            name, self._hindu_calendar.pongal_date(self._year), self._hindu_calendar_show_estimated, days_delta=+2
+        )
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6cf47e4 and 2f4ce47.

📒 Files selected for processing (1)
  • holidays/groups/hindu.py (2 hunks)
🧰 Additional context used
🧬 Code Graph Analysis (1)
holidays/groups/hindu.py (1)
holidays/calendars/hindu.py (1)
  • pongal_date (1390-1391)
🔇 Additional comments (1)
holidays/groups/hindu.py (1)

259-269: Well-structured addition of Pongal holiday method

This implementation follows the established pattern of other Hindu calendar holidays in the class. The docstring provides clear cultural context with appropriate Wikipedia reference.

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Devaraj K <[email protected]>
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2f4ce47 and 2e17c16.

📒 Files selected for processing (1)
  • holidays/groups/hindu.py (2 hunks)
🧰 Additional context used
🧬 Code Graph Analysis (1)
holidays/groups/hindu.py (2)
holidays/calendars/hindu.py (1)
  • pongal_date (1390-1391)
holidays/groups/eastern.py (1)
  • _add_eastern_calendar_holiday (24-51)
🪛 Ruff (0.8.2)
holidays/groups/hindu.py

333-333: SyntaxError: Expected an identifier, but found a keyword 'return' that cannot be used here


333-333: SyntaxError: Simple statements must be separated by newlines or semicolons


335-335: SyntaxError: Expected an expression


336-336: SyntaxError: Expected an identifier, but found a keyword 'return' that cannot be used here


336-336: SyntaxError: Simple statements must be separated by newlines or semicolons


340-340: SyntaxError: Expected a parameter name


341-341: SyntaxError: Positional argument cannot follow keyword argument


341-341: SyntaxError: Expected an expression


343-343: SyntaxError: Unexpected indentation

🔇 Additional comments (2)
holidays/groups/hindu.py (2)

259-269: Implementation of Pongal holiday looks good!

This new method correctly adds the Pongal festival holiday following the same pattern as other Hindu holidays in the file. The comprehensive docstring provides clear context about the festival's significance and timing.


321-341: Good fix for parameter handling!

You've correctly updated the implementation to use _add_eastern_calendar_holiday directly with the appropriate parameters instead of using _add_hindu_calendar_holiday. This addresses the parameter mismatch issue identified in previous reviews.

🧰 Tools
🪛 Ruff (0.8.2)

333-333: SyntaxError: Expected an identifier, but found a keyword 'return' that cannot be used here


333-333: SyntaxError: Simple statements must be separated by newlines or semicolons


335-335: SyntaxError: Expected an expression


336-336: SyntaxError: Expected an identifier, but found a keyword 'return' that cannot be used here


336-336: SyntaxError: Simple statements must be separated by newlines or semicolons


340-340: SyntaxError: Expected a parameter name


341-341: SyntaxError: Positional argument cannot follow keyword argument


341-341: SyntaxError: Expected an expression

tr33k and others added 2 commits April 26, 2025 22:05
Signed-off-by: Devaraj K <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Devaraj K <[email protected]>
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2e17c16 and 9a78ecc.

📒 Files selected for processing (1)
  • holidays/calendars/hindu.py (3 hunks)
🔇 Additional comments (2)
holidays/calendars/hindu.py (2)

38-38: Nice addition of the PONGAL constant
The new PONGAL constant aligns perfectly with the existing holiday constants and sets up the new date method.


1312-1314: Method signature follows established pattern
The pongal_date method correctly delegates to _get_holiday and mirrors the signatures of the other date methods.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 12a922e and d14aa1f.

📒 Files selected for processing (1)
  • holidays/groups/hindu.py (4 hunks)
🔇 Additional comments (4)
holidays/groups/hindu.py (4)

31-42: Good implementation of days_delta parameter

The addition of the days_delta parameter to _add_hindu_calendar_holiday is well-implemented. The validation check for None before applying timedelta is a smart defensive programming approach.


259-269: Well-documented Pongal implementation

The Pongal method is well-implemented with comprehensive documentation explaining the festival's significance, timing, and cultural context.


321-335: Well-documented Thiruvalluvar Day implementation

Good implementation of the Thiruvalluvar Day / Mattu Pongal holiday with a clear days_delta of 1 from Pongal. The documentation provides excellent context about this Tamil Nadu celebration.


337-349: Well-documented Uzhavar Thirunal implementation

Good implementation of Uzhavar Thirunal with appropriate days_delta of 2 from Pongal. The documentation clearly explains the significance of this farmers' celebration day.

@tr33k tr33k requested a review from KJhellico April 27, 2025 04:55
@tr33k tr33k requested a review from KJhellico April 28, 2025 09:38
@KJhellico
Copy link
Collaborator

It's worth adding these links to References in India class docstring:
Tamil Daily Calendar (2005–2025)

Prokerala Tamil Calendar (2001–2005)

Signed-off-by: Devaraj K <[email protected]>
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3e44191 and 7fa1488.

📒 Files selected for processing (1)
  • holidays/countries/india.py (2 hunks)
🧰 Additional context used
🧬 Code Graph Analysis (1)
holidays/countries/india.py (1)
holidays/groups/hindu.py (3)
  • _add_pongal (259-269)
  • _add_thiruvalluvar_day (321-335)
  • _add_uzhavar_thirunal (337-349)
🔇 Additional comments (1)
holidays/countries/india.py (1)

40-41: Good addition of Tamil calendar reference sources.

Adding these reference URLs directly supports the PR objective of accurately representing Tamil Nadu holidays. These sources provide authoritative data for calculating the traditional Pongal festival dates.

Signed-off-by: ~Jhellico <[email protected]>
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
18.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Copy link
Collaborator

@KJhellico KJhellico left a comment

Choose a reason for hiding this comment

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

LGTM.

@arkid15r arkid15r added this pull request to the merge queue Apr 28, 2025
Copy link
Collaborator

@arkid15r arkid15r left a comment

Choose a reason for hiding this comment

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

Nicely done, thanks @tr33k 👍

Merged via the queue into vacanza:dev with commit 5f15440 Apr 28, 2025
32 of 33 checks passed
@tr33k tr33k deleted the add-missing-tamil-holidays branch April 28, 2025 21:37
@arkid15r arkid15r mentioned this pull request May 5, 2025
@coderabbitai coderabbitai bot mentioned this pull request Aug 28, 2025
9 tasks
@coderabbitai coderabbitai bot mentioned this pull request Sep 28, 2025
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing "Thiruvalluvar Day" and "Uzhavar Thinam" in India (Tamil Nadu) regional holidays

3 participants