forked from shopkeep/pytest-black
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Adopt project skeleton #1
Open
jaraco
wants to merge
77
commits into
main
Choose a base branch
from
feature/skeleton
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…s where it should be fixed.
The TOX_TESTENV_PASSENV hasn't been useful for some time and by its mere presence wasted a lot of time today under the assumption that it's doing something. Instead, just rely on one variable FORCE_COLOR. If it's not honored, then that should be the fix upstream.
Also, upgrade from `pypy3.9` to `pypy3.10` and remove the `continue-on-error` for Python 3.12. As recommended at jaraco/cssutils#41
Code reuse Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
This allows org-hosted projects to start enabling merge queues in the repository settings. With that, GitHub would trigger a separate event against a merge commit derived from merging several pull requests with the target branch.
…ady running much later. Closes jaraco/skeleton#96.
* Use the ruff formatter, instead of black Based on: - ruff-pre-commit README.md | Using Ruff with pre-commit https://github.com/astral-sh/ruff-pre-commit/blob/main/README.md - The Ruff Formatter | Conflicting lint rules https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules Support for the ruff formatter was added to pytest-ruff by commits from October 2023, released the same day as versions 0.2 and 0.2.1. Hence, it makes sense to require pytest-ruff ≥ 0.2.1 now. Support for `quote-style = "preserve"` was added to ruff in the last couple of weeks, therefore require the latest version, ruff ≥ 0.1.8. This option is equivalent to `skip-string-normalization` in black. Closes jaraco/skeleton#101. --------- Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Applies Repo-Review suggestion: RF201: Avoid using deprecated config settings extend-ignore deprecated, use ignore instead (identical)
…nd their presence blocks the names of packages like 'builder' and 'distutils'. Ref pypa/distutils#224.
* Tweak coverage configuration for type checking * Use `exclude_also` instead of `exclude_lines` Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> * Add reference to the issue. --------- Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* "preserve" does not require preview any more * Update URL in ruff.toml comment --------- Co-authored-by: Bartosz Sławecki <bartoszpiotrslawecki@gmail.com>
…l features in preview. Ref jaraco/skeleton#133
…araco/skeleton#135) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Based on changes downstream in setuptools.
… will have 'types-*' dependencies.
…fixes (jaraco/skeleton#140) * Add `--fix` flag to ruff pre-commit hook for automatic suggestion of fixes. This is documented in https://github.com/astral-sh/ruff-pre-commit?tab=readme-ov-file#using-ruff-with-pre-commit and should be safe to apply, because it requires the developer to "manually approve" the suggested changes via `git add`. * Add --unsafe-fixes to ruff pre-commit hoot
…d simpler relevant comments. Ref #142
…l' comment to delineate where the skeleton ends and the downstream begins.
…lso required for clean diffs. Ref jaraco/skeleton#142
…using Ruff/isort. Remove extra line after imports in conf.py (jaraco/skeleton#147)
Closes jaraco/skeleton#119. Workaround for astral-sh/ruff#10299.
Closes jaraco/skeleton#152 Workaround for astral-sh/ruff#10299
For compatibility with skeleton.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
pass_env
in tox config. Preferred failure mode for TOX_OVERRIDES for testenv.pass_env are processed inconsistently tox-dev/tox#3127 and closes Release flow failing jaraco/skeleton#92.pytest==8.1.1
Import regression in some namespace package layouts pytest-dev/pytest#12112.pyproject.toml
(Move project metadata topyproject.toml
jaraco/skeleton#122).coveragerc
exclude_also
(Add Protocols, remove @overload, from.coveragerc
exclude_also
jaraco/skeleton#135)--fix
flag to ruff pre-commit hook for automatic suggestion of fixes (Add--fix
flag to ruff pre-commit hook for automatic suggestion of fixes jaraco/skeleton#140)ruff
jaraco/skeleton#150)