-
Notifications
You must be signed in to change notification settings - Fork 5
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
Update build system, update cookiecutter template, use vulture and ruff #441
Conversation
…configuration files
The docs are raising warnings due to some issues with
@aulemahal do you have any idea what that could be about? Has this perhaps been fixed in newer versions (v0.52.2 is installed here).
|
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.
@aulemahal will leave a comment for the docs warnings (linking to pandas docs in our docstrings that is in xclim but not in the conf here). In terms of the code all looks okay
Sorry I forgot about your question! The issue in the doc is because the docstring of the process contains the Example : Process doy_qmax has the markup in the doc for argument One simple solution is to ignore. One complex and unnecessary solution is to setup intersphinx and add pandas as a potential source, as done in xclim. I say unnecessary because finch's documentation is mostly useless. The service is only used in ClimateData's backend : nobody ever sees the docstring and even when they do, it's in its raw, WPS-response format. |
@aulemahal Thanks for the explanation. That makes a lot of sense. This should come as no surprise, but my tendency would be to add the missing
The issue with ignoring the warnings ( If this is a one-line fix for |
…for pandas cross-references
Signed-off-by: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com>
Overview
Changes:
ruff
andvulture
in pre-commitsetuptools
toflit
Related Issue / Discussion
The Code of Conduct is still missing a contact email (should we use the one for Ouranos projects?)
Some TODOs/FIXMEs related to security can be ignored for now, but a refresh/rebuild of
finch
will need to address these.There are still two tests related to file access that seem to be failing for me locally. Not sure why. It's possible that they might just be due to older NetCDF4 libraries. A fresh environment seems to work fine.
Additional Information
https://github.com/bird-house/cookiecutter-birdhouse
https://github.com/astral-sh/ruff
https://github.com/jendrikseipp/vulture