LibCST/libcst/tests
Amethyst Reese 6a7b82e2b6 PEP 621 + hatch to run tests/lint/etc
Moves PEP 621 metadata from `setup.py` and `requirements*.txt` into the
`[project]` table of `pyproject.toml`. This enables using hatch as a
task runner for the project, where previously one would need to remember
a bunch of different commands, or repeatedly consult the readme's
developer guide to find all of the relevant commands.

This creates the following hatch commands:

- docs
- fixtures
- format
- lint
- test
- typecheck

It also updates all of the github actions workflows to use the
appropriate hatch commands, and the readme's developer guide, so that
there is only one source of truth for what constitutes running tests.

The "test" workflows now drop the matrix distinction between "pure" or
"native", and run tests in both modes from a single build.

ghstack-source-id: 8834da7825
Pull Request resolved: https://github.com/Instagram/LibCST/pull/893
2023-03-14 19:37:41 -07:00
..
pyre Script to regenerate test fixtures (#872) 2023-02-22 12:35:23 -08:00
__init__.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
__main__.py PEP 621 + hatch to run tests/lint/etc 2023-03-14 19:37:41 -07:00
test_add_slots.py add slots to base classes, @add_slots takes bases into account (#605) 2022-01-16 14:14:32 +00:00
test_batched_visitor.py add slots to base classes, @add_slots takes bases into account (#605) 2022-01-16 14:14:32 +00:00
test_deep_clone.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_deep_replace.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_e2e.py Upgrade to µsort 1.0.0rc1, and apply formatting changes (#565) 2021-12-21 14:55:04 -08:00
test_exceptions.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_fuzz.py The ufmt tool combines usort and black with a consistent wrapper, (#515) 2021-08-25 20:39:29 -04:00
test_pyre_integration.py Script to regenerate test fixtures (#872) 2023-02-22 12:35:23 -08:00
test_tabs.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_tool.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_type_enforce.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
test_visitor.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00