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

Assorted repo-review suggestions #1497

Merged
merged 8 commits into from
Aug 6, 2024
Merged

Conversation

DimitriPapadopoulos
Copy link
Contributor

  • I have added a news fragment under changelog.d/ (if the patch affects the end users)

Summary of changes

Changes suggested by repo-review:
https://learn.scientific-python.org/development/guides/repo-review/?repo=pypa%2Fpipx&branch=main

Test plan

Pass CI tests.

@DimitriPapadopoulos DimitriPapadopoulos force-pushed the repo-review branch 6 times, most recently from 9026ecc to a22267d Compare August 4, 2024 11:36
Apply repo-review rule PP302:

	Must have a minversion=, and must be at least 6
	(first version to support pyproject.toml configuration).
Apply repo-review rule PP303:

	The `testpaths` setting should be set to a reasonable default.
Apply repo-review rule PP304:

	log_cli_level should be set. This will allow logs to be displayed on failures.
Apply repo-review rule PP306:

	--strict-config should be in addopts = [...].
	This forces an error if a config setting is misspelled.
Apply repo-review rule PP307:

	--strict-markers should be in addopts = [...]. This forces
	all markers to be specified in config, avoiding misspellings.
Apply repo-review rule PP308:

	An explicit summary flag like -ra should be in addopts = [...]
	(print summary of all fails/errors).
@DimitriPapadopoulos
Copy link
Contributor Author

DimitriPapadopoulos commented Aug 5, 2024

I've left out these pytest options for now:

filterwarnings = ["error"]
xfail_strict = true

I might try to add them in a different PR.

Apply repo-review rule PC191:

	If --fix is present, --show-fixes must be too.
@DimitriPapadopoulos DimitriPapadopoulos marked this pull request as ready for review August 5, 2024 20:14
@uranusjr uranusjr merged commit 4fbbe9c into pypa:main Aug 6, 2024
11 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the repo-review branch August 6, 2024 06:20
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.

2 participants