Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run pyright via tox #1134

Merged
merged 35 commits into from
Nov 15, 2023
Merged

Run pyright via tox #1134

merged 35 commits into from
Nov 15, 2023

Conversation

pakrym-stripe
Copy link
Contributor

@pakrym-stripe pakrym-stripe commented Nov 15, 2023

Updates our infrastructure to always run tools on python3.10 and only run tests on different versions of python.

tox.ini Show resolved Hide resolved
…"Typecheck and lint" to "Lint", remove the "Typecheck with pyright" step from the lint job, add a new "Typecheck with pyright" step to the jobs with command line arguments, and rearrange the order of the steps.
…", specifically in the command for the "Typecheck with pyright" action.
…ss positional arguments in pyright command in tox.ini.
…d 'test' target to depend on 'lint', and changed 'PYTHON' variable in 'test' target to 'DEFAULT_TEST_ENV'.
…ersions to environments explicitly and replace variable 'python-version' with 'env' in the command run by tox.
…the existing Python setup in ci.yml, and removed tox-gh-actions from requirements.txt.
…to dropped support for Python versions <= 3.6, and remove Python 3.6 basepython specification from tox.ini file.
…sion constraint for virtualenv in requirements.txt.
…cated cryptography support for Python 3.6 and PyPy3 < 7.3.10 in requirements.txt, and added comments for requirements and test-requirements.
…e 'python-version' to 'python.version', significantly simplify matrix configuration, and adjust related environment variables.
@pakrym-stripe pakrym-stripe enabled auto-merge (squash) November 15, 2023 20:41
@pakrym-stripe pakrym-stripe merged commit 088faa0 into master Nov 15, 2023
15 checks passed
@xavdid-stripe xavdid-stripe deleted the pakrym/Run_pyright_in_tox branch May 10, 2024 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants