pypiserver/requirements/dev.pip
Matthew Planchard 0594c33e53
Backwards-compatible argparse config (not yet in use) (#339)
Adds an argparse config that, while adding subcommands (`pypi-server run` and `pypi-server update`), retains full commandline backwards compatibility with the existing config parsing logic.

There's a bit of hackery required to do this, so this also issues a warning if using the non-subcommand arguments, allowing us to potentially remove support for the old form in our next next major version bump (i.e. 3.0).

Also adds a `.pyproject.toml` with a black config, and a mypy config block to `setup.cfg`.

`mypy` is now called in `tox`, currently only for `config.py`, because nothing else typechecks successfully.

----

* WIP: argparse config

* Complete config

* Test all the config options

* Another test and a note re: being unused

* mypy config, call mypy in tox

* No mypy on pypy

* Fix tox config

* Add venv to black ignore

* fix tox config (again)

* Fix formatting, simplify error handling

* FMT: Run black on changed files
2020-10-08 19:37:39 -05:00

21 lines
337 B
Plaintext

## Pip-dependencies for developing the project.
#
# Install it with:
# pip install -r requirements/dev.pip
-r exe.pip
docopt # For `/bin/bumpver.py`.
gevent>=1.1b4; python_version >= '3'
mypy; implementation_name == 'cpython'
pip>=7
passlib>=1.6
pytest>=2.3
pytest-cov
setuptools
setuptools-git>=0.3
tox
twine
webtest
wheel>=0.25.0