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

Module not found error no module named pytest #543

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ikondov
Copy link
Contributor

@ikondov ikondov commented Feb 3, 2025

Closes #535

Summary

Major changes:

  • fix 1: do not print a warning but a log message (with the original text) at the debug level, Python traceback omitted
  • fix 2: set a default streaming log level in fw_config.py and use this in fix 1 because no global value for the log level available
  • change 1: reuse the default streaming log level in all other modules in the package where "INFO" has been used as default (second commit).
  • change 2: adapted the docs for fix 2 and change 1.

Todos

None.

Checklist

  • Google format doc strings added. Check with ruff.
  • Type annotations included. Check with mypy.
  • Tests added for new features/fixes.
  • If applicable, new classes/functions/modules have duecredit @due.dcite decorators to reference relevant papers by DOI (example)

Tip: Install pre-commit hooks to auto-check types and linting before every commit:

pip install -U pre-commit
pre-commit install

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.

[Bug]: ModuleNotFoundError: No module named 'pytest'
1 participant