-
Notifications
You must be signed in to change notification settings - Fork 86
Format modules #374
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
Format modules #374
Conversation
|
This PR is going to be quite large. Any functional changes are in:
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #374 +/- ##
==========================================
- Coverage 92.87% 92.10% -0.77%
==========================================
Files 42 47 +5
Lines 3577 4206 +629
Branches 631 763 +132
==========================================
+ Hits 3322 3874 +552
- Misses 145 186 +41
- Partials 110 146 +36 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR introduces Black as the Python code formatter and applies it across tutorial files, test files, and utility scripts. The changes are purely cosmetic, focusing on consistent formatting without altering functionality.
Key Changes:
- Applied Black formatter to tutorial scripts (1-4) and test files
- Reformatted multi-line function calls, parameter lists, and data structures for improved readability
- Added blank lines between function definitions per PEP 8 guidelines
Reviewed changes
Copilot reviewed 86 out of 87 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tutorial/*.py | Reformatted DataGenerator chains and SQL strings with proper line breaks |
| tests/test_*.py | Applied Black formatting to test methods, parametrize decorators, and assertions |
| docs/utils/mk_requirements.py | Split long string literals across multiple lines |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 86 out of 87 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
anupkalburgi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 87 out of 88 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Changes
This PR introduces Black as a Python code formatter. Type hints and docstrings have been updated for several modules:
datarange.pynrange.pydaterange.pyLinked issues
N/A
Requirements