Commit graph

7 commits

Author SHA1 Message Date
Fabian Joswig
470e2c57fc
[Feat] More specific Exception statements (#287)
* [Feat] More specific Exception statements

* [Fix] Address copilot comments
2026-07-06 16:36:56 +02:00
Fabian Joswig
e72949b69b
[chore] Stricter ruff rules (#282)
* [chore] Stricter ruff rules

* [chore] Furture lint rules and removal of flake8

* [ci] Bump github action versions

* [chore] Add additional test coverage

* Revert RNG switch to np.random.default_rng()

Restore use of the global np.random state in pseudo_Obs (misc.py) and the
prior id generation (fits.py), keeping seed behavior unchanged. The switch
to a module-local generator is out of scope for this lint-focused PR.

* Silence NPY002 on intentional legacy np.random calls

The RNG migration was reverted to keep np.random.seed() behavior, so add
per-line noqa: NPY002 on the three legacy np.random calls instead of the
Generator API.

* [Fix] Fix exception messages
2026-07-06 11:04:28 +02:00
Justus Kuhlmann
26447d658c
better docstrings (#144)
* first example of returns statement in docstring

* added a some return statements for pandas API

* last return statements in pandas input

* added returns to bdio docstrings

* few returns statements added to docstring

* finished docstrings for hadrons submodule

* also finished docstrings for json submodule

* finished misc submodule

* added returns in docstrings in openqQCD

* made some cosmetic chanes to dostrings

* added return nad return statement in docstring

* linting

* Improved docstrings of mpm, fits, roots, misc to have return statements

returns added for misc.py

returns added for mpm.py

reutrns added for fits.py

* linting...

* Some polishing of docstrings
2023-01-16 14:57:22 +00:00
Fabian Joswig
f1394bbde6 jackknifing module removed 2021-11-09 10:27:50 +00:00
Fabian Joswig
9805ee2b4b pyerrors.py renamed to obs.py, h5py added as dependency 2021-11-07 11:24:56 +00:00
Fabian Joswig
57c6a07801 flake8 style changes 2021-10-11 12:22:58 +01:00
fjosw
d9b2077d2c Initial public release 2020-10-13 16:53:00 +02:00