8000 Python and dependency bounds illustration by markcampanelli · Pull Request #2339 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

Python and dependency bounds illustration #2339

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

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Appease the linter
  • Loading branch information
markcampanelli committed Dec 23, 2024
commit 9b3dbf4df0fecd9ed923368fb30a0119331d3451
5 changes: 3 additions & 2 deletions pvlib/location.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ class Location:
Positive is east of the prime meridian.
Use decimal degrees notation.

tz : str, int, float, zoneinfo.ZoneInfo, datetime.timezone, or pytz timezone (deprecated), default 'UTC'.
tz : str, int, float, zoneinfo.ZoneInfo, datetime.timezone, or pytz
timezone (deprecated), default 'UTC'.
See http://en.wikipedia.org/wiki/List_of_tz_database_time_zones for a
list of valid time zone strings, or use the function
zoneinfo.available_timezones().
Expand Down Expand Up @@ -94,7 +95,7 @@ def __init__(
# warn_deprecated(
# "0.11.3",
# message='pytz-based timezones are deprecated for locations',
# alternative='use zoneinfo.ZoneInfo from the standard library',
# alternative='use zoneinfo.ZoneInfo from standard library',
# obj_type='function argument type',
# )
# self.tz = ZoneInfo(tz.zone)
Expand Down
Loading
0