Skip to content

Commit fb50cf6

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7805d57 commit fb50cf6

File tree

1 file changed

+78
-78
lines changed

1 file changed

+78
-78
lines changed

pyproject.toml

Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ build-backend = "flit_core.buildapi"
55
requires = ["flit_core >=3.2,<4"]
66

77
[project]
8-
authors = [{ name = "gdsfactory", email = "contact@gdsfactory.com" }]
8+
authors = [{name = "gdsfactory", email = "contact@gdsfactory.com"}]
99
classifiers = [
10-
"Programming Language :: Python :: 3.10",
11-
"Programming Language :: Python :: 3.11",
12-
"Programming Language :: Python :: 3.12",
13-
"Operating System :: OS Independent",
10+
"Programming Language :: Python :: 3.10",
11+
"Programming Language :: Python :: 3.11",
12+
"Programming Language :: Python :: 3.12",
13+
"Operating System :: OS Independent"
1414
]
1515
dependencies = ["gdsfactory>=9.0.0", "pint", "gdstk", "tqdm", "numpy"]
1616
description = "gdsfactory plugins"
1717
keywords = ["python"]
18-
license = { file = "LICENSE" }
18+
license = {file = "LICENSE"}
1919
name = "gplugins"
2020
readme = "README.md"
2121
requires-python = ">=3.11"
@@ -24,46 +24,46 @@ version = "1.2.4"
2424
[project.optional-dependencies]
2525
dagster = ["dagster", "dagit"]
2626
dev = [
27-
"pre-commit",
28-
"pytest",
29-
"pytest-cov",
30-
"pytest_regressions",
31-
"pyswarms",
32-
"ray",
33-
"autograd",
27+
"pre-commit",
28+
"pytest",
29+
"pytest-cov",
30+
"pytest_regressions",
31+
"pyswarms",
32+
"ray",
33+
"autograd"
3434
]
3535
devsim = ["devsim", "pyvista<=0.43.8", "tidy3d>=2.7.8,<2.8"]
3636
docs = ["jupytext", "matplotlib", "jupyter-book~=1.0", "pyvista[all]<=0.43.8"]
3737
femwell = ["femwell~=0.1.11", "meshwell~=1.0.7"]
3838
gfviz = ["jinja2", "fastapi", "shapely", "natsort"]
3939
gmsh = [
40-
"gmsh==4.13.0",
41-
"h5py",
42-
"mapbox_earcut",
43-
"meshio",
44-
"pygmsh",
45-
"pyvista<=0.43.8",
46-
"trimesh",
47-
"shapely",
48-
"meshwell~=1.0.7",
40+
"gmsh==4.13.0",
41+
"h5py",
42+
"mapbox_earcut",
43+
"meshio",
44+
"pygmsh",
45+
"pyvista<=0.43.8",
46+
"trimesh",
47+
"shapely",
48+
"meshwell~=1.0.7"
4949
]
5050
klayout = ["klayout", "pyvis<=0.3.1", "vlsir", "vlsirtools"]
5151
luminescent = ["luminescent>=0.2.12,<0.4.0", "sortedcontainers"]
5252
maintainer = ["mypy", "tbump", "towncrier"]
5353
meow = [
54-
"jax>=0.4.26",
55-
"jaxlib>=0.4.26",
56-
"flax>=0.8.2",
57-
"meow-sim>=0.11,<0.13",
58-
"tidy3d>=2.7.8,<2.8",
54+
"jax>=0.4.26",
55+
"jaxlib>=0.4.26",
56+
"flax>=0.8.2",
57+
"meow-sim>=0.11,<0.13",
58+
"tidy3d>=2.7.8,<2.8"
5959
]
6060
sax = [
61-
"jax>=0.4.26",
62-
"jaxlib>=0.4.26",
63-
"flax>=0.8.2",
64-
"sax>=0.13.1,<0.15.0",
65-
"scikit-learn",
66-
"pyvis<=0.3.1",
61+
"jax>=0.4.26",
62+
"jaxlib>=0.4.26",
63+
"flax>=0.8.2",
64+
"sax>=0.13.1,<0.15.0",
65+
"scikit-learn",
66+
"pyvis<=0.3.1"
6767
]
6868
schematic = ["bokeh", "ipywidgets", "natsort"]
6969
tidy3d = ["tidy3d>=2.7.8,<2.8", "meshio", "numpy", "meshwell~=1.0.7"]
@@ -88,17 +88,17 @@ reportUnusedExpression = false
8888
[tool.pytest.ini_options]
8989
addopts = '--tb=short'
9090
norecursedirs = [
91-
"extra/*.py",
92-
'gplugins/dagster',
93-
'gplugins/devsim',
94-
'gplugins/sax/integrations',
95-
'gplugins/tidy3d/tests/tests_sparameters',
96-
'gplugins/fdtdz',
97-
'gplugins/elmer',
98-
'gplugins/sentaurus',
99-
'gplugins/gfviz',
100-
'gplugins/gmeep',
101-
'gplugins/modes',
91+
"extra/*.py",
92+
'gplugins/dagster',
93+
'gplugins/devsim',
94+
'gplugins/sax/integrations',
95+
'gplugins/tidy3d/tests/tests_sparameters',
96+
'gplugins/fdtdz',
97+
'gplugins/elmer',
98+
'gplugins/sentaurus',
99+
'gplugins/gfviz',
100+
'gplugins/gmeep',
101+
'gplugins/modes'
102102
]
103103
python_files = ["gplugins/*.py", "notebooks/*.ipynb", "tests/*.py"]
104104
testpaths = ["gplugins/", "tests"]
@@ -108,48 +108,48 @@ fix = true
108108

109109
[tool.ruff.lint]
110110
ignore = [
111-
"B008", # do not perform function calls in argument defaults
112-
"B028", # stacklevel
113-
"B904",
114-
"B905", # `zip()` without an explicit `strict=` parameter
115-
"C408", # C408 Unnecessary `dict` call (rewrite as a literal)
116-
"C901", # too complex
117-
"D100", # public module docstrings
118-
"D101", # public class docstrings
119-
"D102", # public method docstrings
120-
"D103", # public function docstrings
121-
"D104", # public package docstrings
122-
"E501", # line too long, handled by black
123-
"RUF005", # Consider {expression} instead of concatenation
124-
"ANN401", # typing.Any is not allowed
125-
"RUF015", # Using next() instead of [0]
111+
"B008", # do not perform function calls in argument defaults
112+
"B028", # stacklevel
113+
"B904",
114+
"B905", # `zip()` without an explicit `strict=` parameter
115+
"C408", # C408 Unnecessary `dict` call (rewrite as a literal)
116+
"C901", # too complex
117+
"D100", # public module docstrings
118+
"D101", # public class docstrings
119+
"D102", # public method docstrings
120+
"D103", # public function docstrings
121+
"D104", # public package docstrings
122+
"E501", # line too long, handled by black
123+
"RUF005", # Consider {expression} instead of concatenation
124+
"ANN401", # typing.Any is not allowed
125+
"RUF015" # Using next() instead of [0]
126126
]
127127
select = [
128-
"B", # flake8-bugbear
129-
"C", # flake8-comprehensions
130-
"D", # pydocstyle
131-
"E", # pycodestyle errors
132-
"F", # pyflakes
133-
"I", # isort
134-
"T10", # flake8-debugger
135-
"UP", # pyupgrade
136-
"W", # pycodestyle warnings
137-
"PERF", # performance improvements
138-
"RUF", # ruff
139-
# "ANN", # flake8-annotations
140-
"UP007",
141-
"UP035",
142-
"UP", # pyupgrade
128+
"B", # flake8-bugbear
129+
"C", # flake8-comprehensions
130+
"D", # pydocstyle
131+
"E", # pycodestyle errors
132+
"F", # pyflakes
133+
"I", # isort
134+
"T10", # flake8-debugger
135+
"UP", # pyupgrade
136+
"W", # pycodestyle warnings
137+
"PERF", # performance improvements
138+
"RUF", # ruff
139+
# "ANN", # flake8-annotations
140+
"UP007",
141+
"UP035",
142+
"UP" # pyupgrade
143143
]
144144

145145
[tool.ruff.lint.per-file-ignores]
146146
"docs/notebooks/*.py" = ["F821", 'E402', 'F405', 'F403']
147147
"docs/notebooks/meep_01_sparameters.py" = ["F821", 'E402']
148148
"docs/notebooks/tcad_02_analytical_process.py" = [
149-
"F821",
150-
'E402',
151-
'F405',
152-
'F403',
149+
"F821",
150+
'E402',
151+
'F405',
152+
'F403'
153153
]
154154

155155
[tool.ruff.lint.pydocstyle]

0 commit comments

Comments
 (0)