Skip to content

Commit

Permalink
Add configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
Serene-Arc committed Jan 4, 2023
1 parent 6490c8b commit 8c2b0cd
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[tool.black]
line-length = 120

[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 120
indent = 4
26 changes: 26 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[tox]
requires =
tox>=3.27.1
envlist =
format
format_check

[testenv:format]
deps =
isort
black
skip_install = True
commands =
isort timestampconverter tests
black timestampconverter tests

[testenv:format_check]
deps =
isort
black
skip_install = True
allowlist_externals = mdl
commands =
isort timestampconverter tests --check
black timestampconverter tests --check
mdl README.md docs/

0 comments on commit 8c2b0cd

Please sign in to comment.