Skip to content

Commit

Permalink
Merge pull request #304 from gdsfactory/pyright_remove_unused_expression
Browse files Browse the repository at this point in the history
Pyright remove unused expression
  • Loading branch information
joamatab authored Jan 17, 2024
2 parents 9bc2ae0 + 8861408 commit 62432ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 22 deletions.
4 changes: 2 additions & 2 deletions docs/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ parts:
- file: plugins_fdtd
sections:
- file: notebooks/tidy3d_00_tidy3d
- file: notebooks/fdtdz_01.py
- file: notebooks/fdtdz_01
- file: notebooks/meep_01_sparameters
- file: notebooks/meep_02_gratings
- file: notebooks/meep_03_fields
Expand All @@ -54,7 +54,7 @@ parts:
- file: notebooks/klayout_drc
- file: notebooks/11_get_netlist
- file: notebooks/11_get_netlist_spice
- file: notebooks/path_length_analysis.py
- file: notebooks/path_length_analysis
- caption: Workflows
chapters:
- file: workflow
Expand Down
23 changes: 3 additions & 20 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,26 +98,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 @@ -131,6 +111,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 62432ed

Please sign in to comment.