lovasoa / marshmallow_dataclass

Automatic generation of marshmallow schemas from dataclasses.
https://lovasoa.github.io/marshmallow_dataclass/html/marshmallow_dataclass.html
MIT License
456 stars 78 forks source link

Move project configuration to pyproject.toml #242

Open EpicWink opened 1 year ago

EpicWink commented 1 year ago

Move project, backend, and development tool configuration to pyproject.toml.

Only configuration change was moving the Python 3.6 extra dependencies specification to main dependencies (conditioned on Python being 3.6). I'm pretty sure Setuptools v61+ doesn't support Python 3.6 anyway, so this MR might be predicated on dropping Python 3.6.

Flake8 configuration couldn't be moved due to PyCQA/flake8#234. I guess this could be moved to .flake8 if you want setup.cfg to be removed.

Downsides: lose Git history on those files, require Setuptools v61+ (and therefore Python 3.7+), longer pyproject.toml to read for tool configuration