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

Adding pythonpath variable #37

Merged
merged 2 commits into from
Nov 26, 2024
Merged

Adding pythonpath variable #37

merged 2 commits into from
Nov 26, 2024

Conversation

davethepunkyone
Copy link
Collaborator

@davethepunkyone davethepunkyone commented Nov 26, 2024

Description

This adds the pythonpath option to pytest.ini with the location set to the base of the project.

Context

Depending on the users configuration, sometimes pytest isn't able to see modules it needs to see. This just sets the pythonpath to the default to hopefully help those users.

This has been added thanks to the information provided by @andrew-cleveland.

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes (where appropriate)
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@davethepunkyone davethepunkyone added configuration python Pull requests that update Python code labels Nov 26, 2024
@davethepunkyone davethepunkyone added this to the Initial POC Blueprint milestone Nov 26, 2024
@davethepunkyone davethepunkyone self-assigned this Nov 26, 2024
@davethepunkyone davethepunkyone merged commit ee096e3 into main Nov 26, 2024
24 checks passed
@davethepunkyone davethepunkyone deleted the pythonpath-to-ini branch November 26, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant