Commit Graph

4 Commits

Author SHA1 Message Date
Joshua Bronson 26a7ec830b Improve deps, tests, coverage, upgrade dev dependencies.
* Use pytest-xdist to parallelize tests.
* No need to enable coverage in CI for Python 3.7.
* Pin to latest version of tox in CI.
2022-12-24 09:44:24 -05:00
Joshua Bronson cc284a7071 Upgrade dev dependencies.
Also:

* Remove pyright: ignore comments in favor of reducing associated
  diagnostic settings from "error" to "warning" in pyrightconfig.json.
  I.e. prefer seeing these (non-)issues as warnings in pyright output
  over smearing the code with more type checker gunk.

* Don't bother registering dict_keys as a BidictKeysView.

* Pin tox version in .github/workflows/test.yml, to prevent
  unpredictably picking up breaking changes that break CI (e.g.
  allowlist_externals from the recent 4.0 release).
2022-12-11 12:10:14 -05:00
Joshua Bronson 72dd426138 flake8, pylint -> ruff, check-json5
* Replace flake8 and pylint with ruff
* Add check-json5 hook
2022-12-04 21:20:15 -05:00
Joshua Bronson 79baf860b7 Use pyproject.toml instead of setup.py, etc.
* Ditch setup.py in favor of setuptools' PEP 621 support. Ref:
  https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html

* Declare development dependencies in pyproject.toml rather than
  requirements/*.in

* Ditch pip-compile-multi which does not support sourcing deps from pyproject.toml

* Compile dependencies into dev-deps/*.txt rather than requirements/*.txt

* Don't include development-related files in the sdist or wheel.

* Drop less important bidict.metadata attributes
  (__maintainer__, __email__, __status__, __keywords__, __project_urls__)
  and make __author__ a dictionary with "name" and "email" keys
  to match the standard format in pyproject.toml.
2022-12-04 21:20:15 -05:00