Dimitri Papadopoulos Orfanos

Results 204 issues of Dimitri Papadopoulos Orfanos

https://docs.astral.sh/ruff/rules/extraneous-parentheses/

Also, iCalend**e**r is obviously iCalend**a**r, as shown by this link: http://en.wikipedia.org/wiki/ICalendar The above link only refers to `text/calendar`. The real mime type is `text/calendar`, and has been in the database...

Found by [codespell](https://github.com/codespell-project/codespell), looks like a typo: https://github.com/jshttp/mime-db/blob/a76e5a824c228e2e58363c9404e42a54ee1d142f/src/custom-types.json#L758-L764 The real mime type for iCalendar, documented in http://en.wikipedia.org/wiki/ICalendar, is: https://github.com/jshttp/mime-db/blob/a76e5a824c228e2e58363c9404e42a54ee1d142f/src/iana-types.json#L9839-L9844 Both originate in the initial commit 482c13c.

**Is your feature request related to a problem? Please describe.** Change the formatting from [black](https://github.com/psf/black) to [ruff](https://docs.astral.sh/ruff/formatter/), as a complement to #1771. Many scientific packages are making the switch in...

enhancement

Fixes #198. At least I think it should. Let's wait for feedback. The idea is that we should be **able to read** files with `sample_rate` for backwards compatibility, but **not...

It turns out "sample frequency" is actually the number of samples per channel/signal in EDFlib: https://www.teuniz.net/edflib/doc/edflib_8h.html#a11d03849cecc17a2599125a1a102b69e We inherit this strange definition, and need to explain it. Fixes #199.

* Start with a pristine copy from [EDFlib](https://gitlab.com/Teuniz/EDFlib) [v1.24](https://gitlab.com/Teuniz/EDFlib/-/tags/v1.24).

While building on Ubuntu 22.04: ``` pyedflib/_extensions/c/edflib.c:39: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 39 | #pragma warning( disable : 4996 ) // ignore unsafe strncpy | pyedflib/_extensions/c/edflib.c:40: warning: ignoring ‘#pragma...

Would you agree with merge requests to fix (some) [pep8/pycodestyle](https://github.com/pycqa/pycodestyle/) or [ruff](https://github.com/charliermarsh/ruff) alerts? [pep8.txt](https://github.com/holgern/pyedflib/files/11040552/pep8.txt)

All typos are in code comments.