Skip to content

Commit

Permalink
refactor: change poetry to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
hudsonbrendon committed Dec 12, 2024
1 parent e2ecf4e commit b23d7d6
Show file tree
Hide file tree
Showing 5 changed files with 620 additions and 689 deletions.
17 changes: 12 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_language_version:
python: python3.11
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: check-toml
- id: check-yaml
- id: check-xml
- id: check-json
- id: check-added-large-files
- id: end-of-file-fixer
- id: trailing-whitespace
- id: debug-statements
- id: mixed-line-ending
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-docstring-first
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-illegal-windows-names
- id: check-merge-conflict
- id: check-symlinks
- id: destroyed-symlinks
- id: fix-byte-order-marker
- id: name-tests-test
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.1.2
rev: v0.8.2
hooks:
- id: ruff
args:
Expand Down
26 changes: 15 additions & 11 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
{
"[python]": {
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
}
},
"editor.fontFamily": "FiraCode-Retina",
"editor.fontLigatures": true,
"python.testing.pytestArgs": [
},
"editor.fontFamily": "FiraCode-Retina",
"editor.fontLigatures": true,
"python.testing.pytestArgs": [
"pydantic_br_validator",
"-n",
"auto"
],
"python.testing.pytestEnabled": true,
"python.terminal.activateEnvironment": true
}
],
"python.testing.pytestEnabled": true,
"python.terminal.activateEnvironment": true,
"python.analysis.supportDocstringTemplate": true,
"python.analysis.aiCodeActions": {
"generateDocstring": true
}
}
Loading

0 comments on commit b23d7d6

Please sign in to comment.