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

Modernize pook #100

Merged
merged 5 commits into from
Dec 24, 2023
Merged

Modernize pook #100

merged 5 commits into from
Dec 24, 2023

Conversation

sarayourfriend
Copy link
Collaborator

Modernize pook as a package in the following ways:

  • Drop support for EOL'd Python versions (in other words, 3.7)
  • Use pyproject.toml
  • Use ruff to lint files
  • Use pre-commit to add pre-commit hooks
  • Use hatch to manage test and development environments
  • Fix the test configuration to actually run the example tests
  • Fix the documentation build
  • Fix support for asynchronous functions in the activate decorator (this was a direct result of re-enabling the example tests and finding lots of little issues)
  • Remove all mention of the unsupported pycurl library
  • Clean up tests that can use pytest parametrize to do so (and get better debugging information during tests runs as a result)
  • Use pytest-pook to clean up a bunch of unnecessary test fixtures
  • Fix deprecation warning for invalid string escape sequences caused by untagged regex strings
  • Clean up development dependencies

@sarayourfriend sarayourfriend merged commit d2c7acb into master Dec 24, 2023
7 checks passed
@sarayourfriend sarayourfriend deleted the add/hatch branch December 24, 2023 10:34
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.

1 participant