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

🎨 ruff integration #83

Merged
merged 1 commit into from
Feb 18, 2024
Merged

🎨 ruff integration #83

merged 1 commit into from
Feb 18, 2024

Conversation

mingi3314
Copy link
Owner

@mingi3314 mingi3314 commented Feb 18, 2024


Generated summary (powered by Graphite)

TL;DR

This pull request updates dependencies, configurations, and settings in the project. It includes changes to the .pre-commit-config.yaml file, updates to the VS Code editor settings, and modifications to the pyproject.toml file. The changes involve updating repositories, adding new hooks, and configuring linting and formatting tools.

What changed

  • Updated repositories and their versions
  • Added new hooks for linting and formatting
  • Updated dependencies for the mypy hook
  • Updated settings in the VS Code editor
  • Set default formatter to "charliermarsh.ruff"
  • Configured code actions on save
  • Set Python language server to "Pylance"
  • Updated import strategies for formatters and type checkers
  • Configured mypy type checker import strategy
  • Added git branch protection
  • Updated dependencies in the poetry.lock file
  • Updated Black code formatter version to 23.9.1
  • Updated mypy package to version 1.8.0
  • Added dependencies for click, pytest, pydantic, types-requests, typer, types-PyYAML, types-toml, and fastapi

How to test

  • Review the updated configurations in the .pre-commit-config.yaml file
  • Check the settings in the VS Code editor for formatting and linting
  • Ensure that the mypy type checker is functioning correctly with the updated dependencies
  • Test the code actions on save functionality
  • Verify that the Black code formatter is working as expected

Why make this change

  • To update dependencies and configurations for better code quality
  • To enhance the linting and formatting tools used in the project
  • To ensure compatibility with the latest versions of packages and tools
  • To improve the development workflow and code consistency

Copy link
Owner Author

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@mingi3314 mingi3314 changed the title ruff integration 🎨 ruff integration Feb 18, 2024
Copy link
Owner Author

mingi3314 commented Feb 18, 2024

Merge activity

@mingi3314 mingi3314 merged commit 6b75bbb into main Feb 18, 2024
1 check passed
@mingi3314 mingi3314 deleted the 02-18-_ruff_integration branch February 18, 2024 14:31
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