Skip to content

Commit 3f77b60

Browse files
re-enable pretty-format-toml (#112)
* re-enable pretty-format-toml * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 85c74d4 commit 3f77b60

File tree

2 files changed

+28
-31
lines changed

2 files changed

+28
-31
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ repos:
1212
hooks:
1313
- id: pretty-format-yaml
1414
args: [--autofix, --indent, '4']
15-
# TODO: This formatter is broken due to a sub-dependency
16-
# It should be fixed in a future release but for now, ignore TOML file formatting
17-
# See: https://github.com/macisamuele/language-formatters-pre-commit-hooks/issues/133
18-
# - id: pretty-format-toml
19-
# args: [--autofix]
15+
- id: pretty-format-toml
16+
args: [--autofix]
2017
- repo: https://github.com/sondrelg/pep585-upgrade
2118
rev: v1.0
2219
hooks:

pyproject.toml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11
[build-system]
2-
requires = ["setuptools", "setuptools-scm"]
32
build-backend = "setuptools.build_meta"
3+
requires = ["setuptools", "setuptools-scm"]
44

55
[project]
6-
name = "pyscript"
7-
version = "0.2.5"
8-
description = "Command Line Interface for PyScript"
96
authors = [
10-
{name = "Matt Kramer", email = "[email protected]"},
11-
{name = "Fabio Pliger", email = "[email protected]"},
12-
{name = "Nicholas Tollervey", email = "[email protected]"},
7+
{name = "Matt Kramer", email = "[email protected]"},
8+
{name = "Fabio Pliger", email = "[email protected]"},
9+
{name = "Nicholas Tollervey", email = "[email protected]"}
10+
]
11+
dependencies = [
12+
'importlib-metadata; python_version<"3.8"',
13+
"Jinja2<3.2",
14+
"pluggy<1.1",
15+
"rich<13.0",
16+
"rich-click[typer]<1.4",
17+
"toml<0.11",
18+
"typer<0.5",
19+
"platformdirs<2.7"
1320
]
21+
description = "Command Line Interface for PyScript"
1422
license = {text = "Apache-2.0"}
23+
name = "pyscript"
1524
readme = "README.md"
1625
requires-python = ">=3.7"
17-
dependencies = [
18-
'importlib-metadata; python_version<"3.8"',
19-
"Jinja2<3.2",
20-
"pluggy<1.1",
21-
"rich<13.0",
22-
"rich-click[typer]<1.4",
23-
"toml<0.11",
24-
"typer<0.5",
25-
"platformdirs<2.7",
26-
]
26+
version = "0.2.5"
2727

2828
[project.optional-dependencies]
2929
dev = [
30-
"coverage<7.3",
31-
"mypy<=1.4.1",
32-
"pytest<7.5",
33-
"types-toml<0.11",
30+
"coverage<7.3",
31+
"mypy<=1.4.1",
32+
"pytest<7.5",
33+
"types-toml<0.11"
3434
]
3535
docs = [
36-
"Sphinx<5.2",
37-
"sphinx-autobuild<2021.4.0",
38-
"sphinx-autodoc-typehints<1.20",
39-
"myst-parser<0.19.3",
40-
"pydata-sphinx-theme<0.13.4",
36+
"Sphinx<5.2",
37+
"sphinx-autobuild<2021.4.0",
38+
"sphinx-autodoc-typehints<1.20",
39+
"myst-parser<0.19.3",
40+
"pydata-sphinx-theme<0.13.4"
4141
]
4242

4343
[project.scripts]

0 commit comments

Comments
 (0)