Skip to content

Commit

Permalink
Fix toml-sort override (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy authored Mar 23, 2023
1 parent 41f439a commit 5d4d654
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.246
rev: v0.0.258
hooks:
- id: ruff
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.4.2
hooks:
- id: forbid-tabs
- repo: https://github.com/pappasam/toml-sort
rev: v0.22.3
rev: v0.23.0
hooks:
- id: toml-sort-fix
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.0.0
rev: v1.1.1
hooks:
- id: mypy
additional_dependencies: [numpy, pydantic]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.4
rev: v3.0.0-alpha.6
hooks:
- id: prettier
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,10 @@ pep8-naming.classmethod-decorators = [
[tool.setuptools_scm]

[tool.tomlsort]
sort_inline_arrays = false
sort_inline_tables = true
sort_table_keys = true
all = true
spaces_indent_inline_array = 4
trailing_comma_inline_array = true
overrides."tool.coverage.paths.source".inline_arrays = false

[tool.tox]
legacy_tox_ini = """
Expand Down

0 comments on commit 5d4d654

Please sign in to comment.