FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

sonar-python/python-frontend/typeshed_serializer at master · SonarSource/sonar-python · GitHub

Latest commit

 

History

History

README.md

To run:

in python-frontend/src/main/protobuf directory, run: protoc -I=. --python_out=../../../typeshed_serializer/serializer/proto_out ./symbols.proto

pip install -r requirements.txt

Rebuild only custom symbols

tox -e selective-serialize -- custom

Run a custom test

tox -e py314 -- tests/runners/test_tox_runner.py

Run one specific unit test

tox -e py314 -- tests/runners/test_tox_runner.py::ToxRunnerTest::test_dry_run_unchanged_checksums -v

Dry run of tox_runner

  • Use python, not tox.
  • Will show which calls to the tox module would have been triggered, depending on the checksums and file-system state.
  • Will not perform any change.
python runners/tox_runner.py --dry_run true 

Can also be run in fail fast mode, to reflect the checksum validation used by the QA workflow

python runners/tox_runner.py --dry_run true --fail_fast true  

Back | FazBrowse Home | New Git URL