Kaydet (Commit) bb685b49 authored tarafından Batuhan Osman TASKAYA's avatar Batuhan Osman TASKAYA

mypy fix

üst 28610d87
...@@ -22,8 +22,8 @@ pipeline { ...@@ -22,8 +22,8 @@ pipeline {
stage('flake8') { stage('flake8') {
steps { steps {
sh """. .venv/bin/activate sh """. .venv/bin/activate
flake8 --max-complexity 7 --output-file --ignore E501 flake8_results.txt darwcss/ || true flake8 --max-complexity 7 --output-file --ignore E501 flake8_results.txt darwcss/
[ -f flake8_results.txt ] && flake8_junit flake8_results.txt test_flake8.xml;rm flake8_results.txt || true [ -f flake8_results.txt ] && flake8_junit flake8_results.txt test_flake8.xml;rm flake8_results.txt
""" """
} }
} }
......
...@@ -203,7 +203,7 @@ class CSS: ...@@ -203,7 +203,7 @@ class CSS:
@contextmanager @contextmanager
def selector(self, area: str) -> Generator[Selector, None, None]: def selector(self, area: str) -> Generator[Selector, None, None]:
selector = Selector(area, meta_cfg=self.conf) selector = Selector(area, meta_cfg=self.conf) # type: ignore
try: try:
yield selector yield selector
finally: finally:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment