Skip to content

Commit e55bb4a

Browse files
authored
chore: format pyproject.toml (#25)
1 parent c19e2d3 commit e55bb4a

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
11
[project]
2-
name = 'git-draft'
3-
description = 'Version-controlled code assistant'
4-
authors = [{name='Matthieu Monsch', email='[email protected]'}]
5-
license = 'MIT'
6-
readme = 'README.md'
7-
dynamic = ['version']
8-
requires-python = '>=3.12'
2+
name = "git-draft"
3+
description = "Version-controlled code assistant"
4+
authors = [{name="Matthieu Monsch", email="[email protected]"}]
5+
license = "MIT"
6+
readme = "README.md"
7+
dynamic = ["version"]
8+
requires-python = ">=3.12"
99
dependencies = [
10-
'gitpython (>=3.1.44,<4)',
11-
"xdg-base-dirs (>=6.0.2,<7.0.0)",
10+
"gitpython (>=3.1.44,<4)",
1211
"jinja2 (>=3.1.5,<4.0.0)",
12+
"xdg-base-dirs (>=6.0.2,<7.0.0)",
1313
]
1414

1515
[project.optional-dependencies]
16-
openai = ['openai (>=1.64.0,<2)']
16+
openai = ["openai (>=1.64.0,<2)"]
1717

1818
[project.scripts]
19-
git-draft = 'git_draft.__main__:main'
19+
git-draft = "git_draft.__main__:main"
2020

2121
[project.urls]
22-
repository = 'https://github.com/mtth/git-draft'
23-
documentation = 'https://mtth.github.io/git-draft'
22+
repository = "https://github.com/mtth/git-draft"
23+
documentation = "https://mtth.github.io/git-draft"
2424

2525
[build-system]
26-
requires = ['poetry-core']
27-
build-backend = 'poetry.core.masonry.api'
26+
requires = ["poetry-core"]
27+
build-backend = "poetry.core.masonry.api"
2828

2929
# Poetry
3030

3131
[tool.poetry]
32-
version = '0.0.0' # Set programmatically
33-
packages = [{include='git_draft', from='src'}]
32+
version = "0.0.0" # Set programmatically
33+
packages = [{include="git_draft", from="src"}]
3434

3535
[tool.poetry.dependencies]
36-
python = '>=3.12,<4'
36+
python = ">=3.12,<4"
3737

3838
[tool.poetry.group.dev.dependencies]
39-
black = '^25.1.0'
40-
flake8 = '^7.0.0'
41-
flake8-pyproject = '^1.2.3'
42-
mypy = '^1.2.0'
43-
poethepoet = '^0.25.0'
44-
pytest = '^7.1.2'
39+
black = "^25.1.0"
40+
flake8 = "^7.0.0"
41+
flake8-pyproject = "^1.2.3"
42+
mypy = "^1.2.0"
43+
poethepoet = "^0.25.0"
44+
pytest = "^7.1.2"
4545

4646
# Poe
4747

4848
[tool.poe.tasks.fix]
49-
help = 'format source code'
50-
cmd = 'black ${args}'
49+
help = "format source code"
50+
cmd = "black ${args}"
5151
args = [
52-
{name='args', help='target folders', positional=true, multiple=true, default='src tests'},
52+
{name="args", help="target folders", positional=true, multiple=true, default="src tests"},
5353
]
5454

5555
[tool.poe.tasks.lint]
56-
help = 'lint source code'
56+
help = "lint source code"
5757
sequence = [
58-
{cmd='black --check --quiet ${args}'},
59-
{cmd='flake8 ${args}'},
60-
{cmd='mypy ${args}'},
58+
{cmd="black --check --quiet ${args}"},
59+
{cmd="flake8 ${args}"},
60+
{cmd="mypy ${args}"},
6161
]
6262
args = [
63-
{name='args', help='target folders', positional=true, multiple=true, default='src tests'},
63+
{name="args", help="target folders", positional=true, multiple=true, default="src tests"},
6464
]
6565

6666
# Other tools
@@ -70,10 +70,10 @@ line-length = 79
7070
include = '\.py$'
7171

7272
[tool.flake8]
73-
ignore = ['E203', 'E501', 'E704', 'W503']
73+
ignore = ["E203", "E501", "E704", "W503"]
7474

7575
[tool.mypy]
76-
disable_error_code = 'import-untyped'
76+
disable_error_code = "import-untyped"
7777

7878
[tool.pytest.ini_options]
79-
log_level = 'DEBUG'
79+
log_level = "DEBUG"

0 commit comments

Comments
 (0)