Skip to content

Commit

Permalink
fix(build-system): isort options for sorting import
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsanima committed Feb 24, 2022
1 parent d10247d commit 4f93078
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
# Copyritht © 2022 Marcin Różewski MDSANIMA

# Build System Information.
[build-system]
requires = ["setuptools>=46.4.0", "wheel"]
build-backend = "setuptools.build_meta"

# Configuration for Black Python Code Formatter.
[tool.black]
line-length = 79
target-version = ['py36', 'py37', 'py38', 'py39', 'py310']
include = '\.pyi?$'

[tool.isort]
profile = "black"
src_paths = ["src", "tests"]
force_single_line = true
lines_before_imports = 2
lines_after_imports = 2
treat_all_comments_as_code = true
extend_skip = [".md", ".json"]

0 comments on commit 4f93078

Please sign in to comment.