-
Notifications
You must be signed in to change notification settings - Fork 4
initialize structure of repository with tests, formatter #13
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
Conversation
b12c52e
to
b35576c
Compare
Using for testing, formatting, linting defaults from hatch. Set up simple CI that checks tests and formatting. Changed README to rst because built system cannot interpret org files. Set up simple sphinx documentation structure that includes the README install section. Updated README with usage of basic developer tools.
Co-authored-by: Rico Haeuselmann <[email protected]>
0302111
to
5bed5e4
Compare
…change python versions to github context everywhere
authors = [ | ||
{name = 'Matthieu Leclair', email = '[email protected]'}, | ||
{name = 'Julian Geiger', email = '[email protected]'}, | ||
{name = 'Alexander Goscinski', email = '[email protected]'}, |
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.
{name = 'Rico Haüselmann', email = '[email protected]' },
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.
{name = 'Alexander Goscinski', email = '[email protected]'}, | |
{name = 'Alexander Goscinski', email = '[email protected]'}, | |
{name = 'Rico Haüselmann', email = '[email protected]' }, |
dynamic = ["version"] | ||
description = 'WcFlow a library for creating weather and climate workflows.' | ||
authors = [ | ||
{name = 'Matthieu Leclair', email = '[email protected]'}, |
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.
[email protected] (trying to switch all my email addresses to this one)
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.
{name = 'Matthieu Leclair', email = 'matthieu.leclair@env.ethz.ch'}, | |
{name = 'Matthieu Leclair', email = 'matthieu.leclair@c2sm.ethz.ch'}, |
Initialized the repo based on
hatch
for testing, formatting, linting, environment management, and as building system. We are using mostlyhatch
defaults to not make complicatedpyproject.toml
so it is easier to maintain which are ruff as formatter and linter and pytest for tests. For the documentation I set up sphinx. The idea would be use sphinx with MyST so it is easier to maintain as we can just write markdown files. Because hatch cannot interpret theorg
file I changed the README file torst
, since we can integrate it better with the sphinx docs. Added basic developer information about developer tools to the README.TODOs/Issues:
But then it only gets active after this PR is merged, so might change this in a future PR