Skip to content

Update Contribution types, Reference, and In depth explanations in Contributing guide#2521

Merged
OriolAbril merged 18 commits intoarviz-devs:mainfrom
tomicapretto:update-contributing-guide
Feb 4, 2026
Merged

Update Contribution types, Reference, and In depth explanations in Contributing guide#2521
OriolAbril merged 18 commits intoarviz-devs:mainfrom
tomicapretto:update-contributing-guide

Conversation

@tomicapretto
Copy link
Copy Markdown
Contributor

@tomicapretto tomicapretto commented Jan 27, 2026

  • Contribution types
  • Reference
  • In depth explanations

[TensorFlow's style guide](https://www.tensorflow.org/community/contribute/code_style)
or the [Google style guide](https://github.com/google/styleguide/blob/gh-pages/pyguide.md).
Both more or less follow PEP 8.
TODO: Details and sections to be added...
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Just flagging that I'm not sure what are the sections to add here.

Also, should "## Docstring formatting", "## Documentation for user facing methods", and "## Tests" be included here?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I would mention the workflow is forking, developing locally, running checks (tox mention, see later) then opening a PR, plus a link to the PR step-by-step tutorial for anyone who might be new.

Second paragraph probably a quick overview about using tox to help with devops tasks, plus a mention of tox list -m dev to see the available tasks.


I do think all these 3 sections should instead be subsections inside this one.

Comment on lines +5 to +9
We prefer that issues be filled on the
Github Issue Tracker of the corresponding package repository
([`arviz-base`](https://github.com/arviz-devs/arviz-base/issues),
[`arviz-stats`](https://github.com/arviz-devs/arviz-stats/issues),
[`arviz-plots`](https://github.com/arviz-devs/arviz-stats/issues))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I am not completely sure about that. Given we are on github and transfering issues is clicking a button, I am kind of leaning towards directing most people to the main repo and we can move them later on. Otherwise I fear it will be added friction, especially for things that don't fit completely into a single repo.

Opening issues on the respective repos is also perfectly fine and not discouraged at all though. Not sure how to communicate this, maybe focus on the "whichever is easier for you as the reporter" part

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I just wrote it in a different way so it says both things

Comment on lines +8 to +10
* Please prefix the title of incomplete contributions with `[WIP]` (to indicate a work in progress).
WIPs may be useful to (1) indicate you are working on something to avoid duplicated work,
(2) request a broad review of functionality or API, or (3) seek collaborators.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we have mostly shifted towards using draft PRs ourselves. The reasoning stays the same, the way to signal it changed a bit

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

$ pip install black
$ black arviz/ examples/ asv_benchmarks/
```shell
tox -e py312-coverage
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

maybe comment # or full-coverage, nightlies... to make sure it is clear each repo may have their own test running commands.

Having said that I don't really care much either way what we put here but figured I'd mention. I never run the -coverage version tests locally. I don't think it adds too much overhead (but obviously haven't tested it) but I don't know the current coverage so I would have to go check codecov to do anything with the output. If I have to go to codecov I just wait for the PR and get the full report there which is nicer.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

If I have to go to codecov I just wait for the PR and get the full report there which is nicer.

Yes, I do the same. So let's reflect that in the docs.

tomicapretto and others added 5 commits February 4, 2026 09:43
Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com>
Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com>
Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com>
Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com>
@tomicapretto tomicapretto marked this pull request as ready for review February 4, 2026 13:32
Copy link
Copy Markdown
Member

@OriolAbril OriolAbril left a comment

Choose a reason for hiding this comment

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

let's merge and continue working if needed

@OriolAbril OriolAbril merged commit 6470f96 into arviz-devs:main Feb 4, 2026
4 checks passed
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.

2 participants