Skip to content

Commit 2fe6139

Browse files
authored
chore(ci): move isort config to pyproject.toml (#92)
* chore(ci): move isort config to pyproject.toml * fix(ci): typo in config
1 parent 54f2c60 commit 2fe6139

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ repos:
1010
hooks:
1111
- id: isort
1212
name: isort (python)
13-
args: ["--python-version", "37", "--profile", "black"]
1413
- repo: https://github.com/psf/black
1514
rev: 22.10.0
1615
hooks:

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ manimgl = "^1.6.1"
6363
requires = ["setuptools","poetry-core>=1.0.0"]
6464
build-backend = "poetry.core.masonry.api"
6565

66+
[tool.isort]
67+
profile = "black"
68+
py_version = 37
69+
6670
[tool.poetry.plugins]
6771
[tool.poetry.plugins."console_scripts"]
6872
manim-slides = "manim_slides.__main__:cli"

0 commit comments

Comments
 (0)