Skip to content

Commit

Permalink
Add black and isort configs
Browse files Browse the repository at this point in the history
  • Loading branch information
hartikainen committed Jun 18, 2023
1 parent 552b25b commit 895080f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ classifiers = [
dynamic = ["readme", "dependencies"]
requires-python = ">=3.9"

[project.optional-dependencies]
dev = [
"black",
"isort",
]

[project.urls]
Homepage = "https://github.com/oxwhirl/server-monitor"

Expand All @@ -30,3 +36,13 @@ install_requires = []
[tool.setuptools.dynamic]
readme = { file = ["README.md", "text/markdown"] }
dependencies = { file = ["requirements.txt"] }

[tool.black]
target-version = ["py311"]

[tool.isort]
profile = "black"
py_version = 311
force_single_line = true
force_sort_within_sections = true
single_line_exclusions = ["typing"]

0 comments on commit 895080f

Please sign in to comment.