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

use ruff for linting #278

Merged
merged 23 commits into from Feb 17, 2024
Merged

use ruff for linting #278

merged 23 commits into from Feb 17, 2024

Conversation

csernazs
Copy link
Owner

@csernazs csernazs commented Feb 17, 2024

  • ruff: upgrade config in pyproject.toml
  • ruff: add noqa for tarball extractall
  • ruff: fix pytest.mark.parametrize
  • ruff: add noqa for pytest.raises
  • ruff: add noqa for assert False
  • ruff: fix assert 1 == 2
  • ruff: fix pytest.fixture decorator
  • ruff: fix string formatting
  • ruff: use in/not in instead of complex logical expression
  • ruff: use kwarg for boolean calling
  • ruff: add noqa for unused arguments
  • ruff: rename callable to func
  • ruff: add noqa for exceptions f-string
  • ruff: remove pass statements
  • ruff: exclude rules
  • ruff: type annotations fixes
  • ruff: use TYPE_CHECKING for ssl and werkzeug
  • ruff: add noqa FBT001
  • ruff: add exclude to pyproject.toml
  • ruff: add future import annotations, exclude files
  • ruff: add to pyproject + update poetry.lock
  • ruff: initialize in pre-commit-config, .vscode, pyproject.toml

Copy link

codecov bot commented Feb 17, 2024

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (1c885e1) 95.50% compared to head (bbf66f9) 95.30%.

Files Patch % Lines
pytest_httpserver/blocking_httpserver.py 66.66% 3 Missing ⚠️
pytest_httpserver/httpserver.py 94.28% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #278      +/-   ##
==========================================
- Coverage   95.50%   95.30%   -0.20%     
==========================================
  Files           4        4              
  Lines         601      597       -4     
==========================================
- Hits          574      569       -5     
- Misses         27       28       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@csernazs csernazs changed the title ruff new use ruff for linting Feb 17, 2024
@csernazs csernazs merged commit f6a0d95 into master Feb 17, 2024
8 checks passed
@csernazs csernazs deleted the ruff-new branch February 17, 2024 16:32
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

1 participant