Skip to content

Commit 4f14340

Browse files
committed
Added pyproject.toml for black and pyright configuration
1 parent f96fbe0 commit 4f14340

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[tool.black]
2+
line-length = 79
3+
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
4+
skip-string-normalization = true
5+
6+
[tool.pyright]
7+
include = ['python_utils']
8+
strict = ['python_utils', '_python_utils_tests/test_aio.py']
9+
# The terminal file is very OS specific and dependent on imports so we're skipping it from type checking
10+
ignore = ['python_utils/terminal.py']
11+
pythonVersion = '3.8'

0 commit comments

Comments
 (0)