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

Infer target version #214

Merged
merged 1 commit into from Jun 27, 2023
Merged

Infer target version #214

merged 1 commit into from Jun 27, 2023

Conversation

flying-sheep
Copy link
Member

@flying-sheep flying-sheep commented Jun 27, 2023

It’s derived from requires-python in both Ruff:

target-version

[…]
If omitted, and Ruff is configured via a pyproject.toml file, the target version will be inferred from its project.requires-python field (e.g., requires-python = ">=3.8").

and Black (in psf/black#3219):

-t, --target-version

[…] By default, Black will try to infer this from the project metadata in pyproject.toml. […]

@github-actions
Copy link

A PR has been generated to the instance repo:
scverse/cookiecutter-scverse-instance#76

You can check out the PR to preview your changes
in an instance of the cookiecutter template. The PR will be kept in sync with
this PR automatically.

@flying-sheep
Copy link
Member Author

flying-sheep commented Jun 27, 2023

Test failures arewere

 intersphinx inventory 'https://anndata.readthedocs.io/en/stable/objects.inv' not fetchable due to <class 'requests.exceptions.HTTPError'>: 403 Client Error: Forbidden for url: https://anndata.readthedocs.io/en/stable/objects.inv

wtf

@flying-sheep flying-sheep requested a review from grst June 27, 2023 10:22
@flying-sheep flying-sheep merged commit 83028a8 into main Jun 27, 2023
7 checks passed
@flying-sheep flying-sheep deleted the infer-target-version branch June 27, 2023 11:14
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

2 participants