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

chore: migrate markers to pyproject.toml #170

Merged
merged 1 commit into from
Mar 28, 2024
Merged

chore: migrate markers to pyproject.toml #170

merged 1 commit into from
Mar 28, 2024

Conversation

SauravMaheshkar
Copy link
Contributor

Change Description

This PR aims to migrate the pytest markers from the pytest.ini file to pyproject.toml

Rationale

This allows for a more minimal project structure.

Testing/Review Recommendations

A simple way to verify if pytest recognises the markers from the pyproject.toml file is to run pytest --markers.

Copy link
Collaborator

@thomas-bc thomas-bc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documented here: https://docs.pytest.org/en/8.0.x/reference/customize.html#pyproject-toml, and we have pytest>6.0.0 so LGTM!

@LeStarch would you put a second set of eyes on this?

@thomas-bc thomas-bc requested a review from LeStarch March 28, 2024 21:48
@LeStarch
Copy link
Collaborator

Done. I see it in the documentation.

@LeStarch LeStarch merged commit 86afffc into nasa:devel Mar 28, 2024
11 checks passed
@SauravMaheshkar SauravMaheshkar deleted the drop-pytest-ini branch March 29, 2024 01:48
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