Skip to content

Commit

Permalink
fix: parse empty quoted table name (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
frostming committed Jan 29, 2023
1 parent 6512eaa commit b49a3e4
Show file tree
Hide file tree
Showing 6 changed files with 508 additions and 566 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Install Poetry
shell: bash
run: curl -fsSL https://install.python-poetry.org | python - -y --version 1.2.2
run: curl -fsSL https://install.python-poetry.org | python - -y

- name: Update PATH
if: ${{ matrix.os != 'Windows' }}
Expand Down
34 changes: 17 additions & 17 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
repos:
- repo: https://github.com/psf/black
rev: 22.6.0
rev: 22.12.0
hooks:
- id: black

- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
exclude: docs/.*

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.4.0
hooks:
- id: trailing-whitespace
exclude: ^tests/(toml-test|toml-spec-tests)/.*
Expand All @@ -20,36 +20,36 @@ repos:
- id: debug-statements

- repo: https://github.com/asottile/yesqa
rev: v1.3.0
rev: v1.4.0
hooks:
- id: yesqa
additional_dependencies: &flake8_deps
- flake8-broken-line==0.4.0
- flake8-bugbear==22.7.1
- flake8-comprehensions==3.10.0
- flake8-eradicate==1.2.1
- flake8-quotes==3.3.1
- flake8-simplify==0.19.2
- flake8-tidy-imports==4.8.0
- flake8-typing-imports==1.12.0
- flake8-use-fstring==1.3
- pep8-naming==0.13.0
- flake8-broken-line
- flake8-bugbear
- flake8-comprehensions
- flake8-eradicate
- flake8-quotes
- flake8-simplify
- flake8-tidy-imports
- flake8-typing-imports
- flake8-use-fstring
- pep8-naming
exclude: ^tomlkit/items\.py

- repo: https://github.com/asottile/pyupgrade
rev: v2.37.1
rev: v3.3.1
hooks:
- id: pyupgrade
args: [--py37-plus]

- repo: https://github.com/hadialqattan/pycln
rev: v2.0.1
rev: v2.1.3
hooks:
- id: pycln
args: [--all]

- repo: https://github.com/pycqa/flake8
rev: 4.0.1
rev: 5.0.4
hooks:
- id: flake8
additional_dependencies: *flake8_deps

0 comments on commit b49a3e4

Please sign in to comment.