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

Update ruff config for type annotations and fix a doc publishing problem #53

Merged
merged 3 commits into from
Jan 26, 2024

Conversation

arneso-ssb
Copy link
Member

@arneso-ssb arneso-ssb commented Jan 26, 2024

Require type annotations in source code for medium quality level

  • Allow missing type hints in test code
  • Update ruff config to latest syntax described on the ruff homepage

Don't treat warnings as errors in sphinx-build when publishing docs

  • Adjust the docs.yml GitHub Action to not treat warning as errors.
    The docs_build nox session does not treat warning as errors, and
    then the GitHub Action for publishing should do the same.

Update code formatting according to black version 24

- Allow missing type hints in test code
- Update ruff config to latest syntax described on the ruff homepage
- Adjust the docs.yml GitHub Action to not treat warning as errors.
  The docs_build nox session does not treat warning as errors, and
  then the GitHub Action for publishing should do the same.
@arneso-ssb arneso-ssb added the enhancement New feature or request label Jan 26, 2024
@arneso-ssb arneso-ssb merged commit c4573d4 into main Jan 26, 2024
7 checks passed
@arneso-ssb arneso-ssb deleted the ruff branch January 26, 2024 10:56
@arneso-ssb arneso-ssb mentioned this pull request Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants