Skip to content

Commit

Permalink
don't report unused expression in pyright
Browse files Browse the repository at this point in the history
  • Loading branch information
joamatab committed Jan 17, 2024
1 parent 1fafc0c commit 7c8ac6a
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,26 +97,6 @@ vlsir = [
"vlsirtools>=4.0.0,<6.0.0"
]

[tool.black]
exclude = ''' # Specify the files/dirs that should be ignored by the black formatter
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| env
| _build
| buck-out
| build
| dist
)/
'''
include = '\.pyi?$'
line-length = 88
target-version = ['py310']

[tool.codespell]
ignore-words-list = 'te, te/tm, te, ba, fpr, fpr_spacing, ro, nd, donot, schem, Ue'
skip = 'notebooks/palace_02_fullwave.ipynb'
Expand All @@ -130,6 +110,9 @@ enabled = true
live_mode = true
strict = true

[tool.pyright]
reportUnusedExpression = false

[tool.pytest.ini_options]
addopts = '--tb=short'
norecursedirs = [
Expand Down

0 comments on commit 7c8ac6a

Please sign in to comment.