Skip to content

Commit cd71c52

Browse files
author
Stainless Bot
committed
feat: ci: properly ignore rye linting errors
1 parent 645ea34 commit cd71c52

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ dist
1313
.envrc
1414
codegen.log
1515
Brewfile.lock.json
16+
17+
.ipynb_checkpoints
18+
.DS_Store

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ show_error_codes = True
55
# Exclude _files.py because mypy isn't smart enough to apply
66
# the correct type narrowing and as this is an internal module
77
# it's fine to just use Pyright.
8-
exclude = ^(src/openlayer/_files\.py|_dev/.*\.py)$
8+
exclude = ^(src/openlayer/_files\.py|_dev/.*\.py|src/openlayer/lib/.*\.py|examples/.*\.py)$
99

1010
strict_equality = True
1111
implicit_reexport = True

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ exclude = [
136136
".nox",
137137
]
138138

139+
ignore = ["src/openlayer/lib/*", "examples/*"]
140+
139141
reportImplicitOverride = true
140142

141143
reportImportCycles = false
@@ -193,4 +195,5 @@ known-first-party = ["openlayer", "tests"]
193195
"bin/**.py" = ["T201", "T203"]
194196
"scripts/**.py" = ["T201", "T203"]
195197
"tests/**.py" = ["T201", "T203"]
196-
"examples/**.py" = ["T201", "T203"]
198+
"examples/**.py" = ["ALL"]
199+
"src/**.py" = ["ALL"]

0 commit comments

Comments
 (0)