Skip to content

Conversation

@wholmgren
Copy link
Owner

pvlib python pull request guidelines

Thank you for your contribution to pvlib python! You may delete all of these instructions except for the list below.

You may submit a pull request with your code at any stage of completion.

The following items must be addressed before the code can be merged. Please don't hesitate to ask for help if you're unsure of how to accomplish any of the items below:

  • Closes issue #xxxx
  • I am familiar with the contributing guidelines.
  • Fully tested. Added and/or modified tests to ensure correct behavior for all reasonable inputs. Tests (usually) must pass on the TravisCI and Appveyor testing services.
  • Updates entries to docs/sphinx/source/api.rst for API changes.
  • Adds description and name entries in the appropriate docs/sphinx/source/whatsnew file for all changes.
  • Code quality and style is sufficient. Passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • New code is fully documented. Includes sphinx/numpydoc compliant docstrings and comments in the code where necessary.
  • Pull request is nearly complete and ready for detailed review.

Brief description of the problem and proposed solution (if not already fully described in the issue linked to above):

return scale_voltage_current_power(data,
voltage=self.modules_per_string,
current=self.strings_per_inverter)
return scale_voltage_current_power(data,voltage=self.modules_per_string, current=self.strings_per_inverter)
Copy link

Choose a reason for hiding this comment

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

E231 missing whitespace after ','
E501 line too long (115 > 79 characters)

return scale_voltage_current_power(data,
voltage=self.modules_per_string,
current=self.strings_per_inverter)
voltage=self.modules_per_string, current=self.strings_per_inverter)
Copy link

Choose a reason for hiding this comment

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

E128 continuation line under-indented for visual indent

"""
kwargs = _build_kwargs(['eta_inv_nom', 'eta_inv_ref'],
self.inverter_parameters)
kwargs = _build_kwargs(['eta_inv_nom', 'eta_inv_ref'], self.inverter_parameters)
Copy link

Choose a reason for hiding this comment

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

E501 line too long (90 > 79 characters)

The LocalizedPVSystem may have bugs due to the difficulty of
robustly implementing multiple inheritance. See
The LocalizedPVSystem may have bugs due to the difficulty of robustly implementing multiple inheritance. See
Copy link

Choose a reason for hiding this comment

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

E501 line too long (112 > 79 characters)

@cwhanse
Copy link

cwhanse commented Sep 6, 2018

I think this is a good idea. If Stickler proves annoying rather than helpful, I assume we can remove it later.

@wholmgren
Copy link
Owner Author

If Stickler proves annoying rather than helpful, I assume we can remove it later.

Yes. Looks like a simple change for repository admins.

@wholmgren wholmgren closed this Sep 6, 2018
@wholmgren wholmgren deleted the sticklertest branch September 6, 2018 17:19
wholmgren pushed a commit that referenced this pull request May 31, 2024
* prototype (#1)

* first iteration

* dynamic period

* docstring

* feedback

* linting

* Update pvlib/iotools/solcast.py

Co-authored-by: Cliff Hansen <[email protected]>

* Update pvlib/iotools/solcast.py

Co-authored-by: Cliff Hansen <[email protected]>

* Update pvlib/iotools/solcast.py

Co-authored-by: Cliff Hansen <[email protected]>

* midpoint docstring

* flak8 formatting

* PR 1875 (#2)

* kandersolar feedback (#3)

* addressing feedback from Kandersolar

* Review (#4)

added hack for ISO periods in Pandas 0.25 and clearsky parameter maps

* comment on pandas version

* Update pvlib/iotools/solcast.py

Co-authored-by: Adam R. Jensen <[email protected]>

* Update pvlib/iotools/solcast.py

Co-authored-by: Adam R. Jensen <[email protected]>

* Update pvlib/iotools/solcast.py

Co-authored-by: Adam R. Jensen <[email protected]>

* Update pvlib/iotools/solcast.py

Co-authored-by: Adam R. Jensen <[email protected]>

* Update pvlib/iotools/solcast.py

Co-authored-by: Adam R. Jensen <[email protected]>

* Update pvlib/iotools/solcast.py

Co-authored-by: Adam R. Jensen <[email protected]>

* Update pvlib/iotools/solcast.py

Co-authored-by: Adam R. Jensen <[email protected]>

* Update pvlib/iotools/solcast.py

Co-authored-by: Adam R. Jensen <[email protected]>

* Update pvlib/iotools/solcast.py

Co-authored-by: Adam R. Jensen <[email protected]>

* Adams's feedback

* Update pvlib/iotools/solcast.py

Co-authored-by: Adam R. Jensen <[email protected]>

* Adams's feedback

* Last minor changes

* added test for _get_solcast

* feat: add additional test coverage (#5)

Co-authored-by: Hugh Cutcher <[email protected]>

* linting

---------

Co-authored-by: Cliff Hansen <[email protected]>
Co-authored-by: Adam R. Jensen <[email protected]>
Co-authored-by: hugh-solcast <[email protected]>
Co-authored-by: Hugh Cutcher <[email protected]>
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.

3 participants