Dimitri Papadopoulos Orfanos

Results 204 issues of Dimitri Papadopoulos Orfanos

**⚠** f-strings were introduced in **Python 3.6**. Do you really want to keep Python 3.4 compatibility?

``` FutureWarning: The 'delim_whitespace' keyword in pd.read_csv is deprecated and will be removed in a future version. Use ``sep='\s+'`` instead ```

Some changes have been applied using pyupgrade. Most changes have been applied manualy.

Perhaps a little bit far-stretched, but [`sys.exit`](https://docs.python.org/3/library/sys.html#sys.exit) re-defines the builtin [`exit`](https://docs.python.org/3/library/constants.html#exit) helper for the interactive shell: https://github.com/jbweston/miniver/blob/9624074bba080cde5d87ae664e74d1250100d333/ci/create_package.py#L8 See [Re-definition found for builtin function - PYL-W0622](https://deepsource.io/gh/DimitriPapadopoulos/miniver/issue/PYL-W0622/occurrences).

I believe the encoding declaration `# -*- coding: utf-8 -*-` is not needed any more _as far as Python 3 is concerned_. Do you rely on other tools (like your...

With Python 3.11 around the corner, how about updating the versions of Python explicitly supported and tested? https://github.com/jbweston/miniver/blob/9624074bba080cde5d87ae664e74d1250100d333/setup.py#L43-L46 https://github.com/jbweston/miniver/blob/9624074bba080cde5d87ae664e74d1250100d333/.github/workflows/test.yml#L12

**How would this feature be useful?** [`RUF012`](https://docs.astral.sh/ruff/rules/mutable-class-default/) checks for mutable default values in class attributes: > Mutable default values share state across all instances of the class, while not being...

Note: #1872 is the same applied to the [`v3`](https://github.com/zarr-developers/zarr-python/tree/v3) branch TODO: * [ ] Add unit tests and/or doctests in docstrings * [ ] Add docstrings and API docs for...