Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
xoolive committed Dec 1, 2023
1 parent 6cef46b commit 1e717d6
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 91 deletions.
16 changes: 5 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v4.5.0
hooks:
- id: check-builtin-literals
- id: check-case-conflict
Expand All @@ -12,29 +12,23 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/python-poetry/poetry
rev: 1.5.1
rev: 1.7.0
hooks:
- id: poetry-check
- repo: https://github.com/floatingpurr/sync_with_poetry
rev: 1.1.0
hooks:
- id: sync_with_poetry
- repo: https://github.com/psf/black
rev: 23.11.0
hooks:
- id: black
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.247"
rev: "v0.1.6"
hooks:
- id: ruff
- id: ruff-format
args: [--check]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.1
hooks:
- id: mypy
exclude: ^docs/conf.py
additional_dependencies:
- impunity
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.0
hooks:
- id: prettier
37 changes: 28 additions & 9 deletions pitot.code-workspace
Original file line number Diff line number Diff line change
@@ -1,22 +1,41 @@
{
"folders": [{ "path": "." }],
"settings": {
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true,
"python.linting.enabled": true,
"python.analysis.inlayHints.pytestParameters": true,
"python.analysis.inlayHints.variableTypes": true,

"editor.formatOnSave": true,
"python.formatting.provider": "black",
"editor.rulers": [80],
"mypy-type-checker.importStrategy": "fromEnvironment",
"ruff.importStrategy": "fromEnvironment",

"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": ["tests"],
"[python]": {
"files.insertFinalNewline": true,
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.codeActionsOnSave": {
"source.organizeImports.ruff": true,
"source.fixAll.ruff": false
}
},
// File list
"files.exclude": {
"**/.git/": true,
"**/.ipynb_checkpoints/": true,
"**/.mypy_cache/": true,
"**/__pycache__/": true,
"**/.pytest_cache/": true,
"**/.ruff_cache/": true,
"build/": true,
"dist/": true,
"build:": true,
"docs/_build": true,
"docs/node_modules": true
}
},
"extensions": {
"recommendations": [
"ms-python.python",
"ms-python.mypy-type-checker",
"charliermarsh.ruff"
]
}
}
69 changes: 1 addition & 68 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@ impunity = ">=1.0.3"
# impunity = { path = "../impunity", develop = true }

[tool.poetry.group.dev.dependencies]
pre-commit = ">=2.20.0"
mypy = ">=0.991"
black = ">=22.12.0"
ruff = ">=0.0.253"
pytest = ">=7.1.2"
pytest-cov = ">=4.0.0"
pre-commit = ">=2.20.0"
ruff = ">=0.0.253"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit 1e717d6

Please sign in to comment.