Skip to content

Commit 49a37c7

Browse files
committed
tooling: Ignore pylint and mypy errors in conanfile.py
Because of how Conan dynamically modifies the ConanFile class, these aren't really helpful. Also it's not expected to even fulfill a large portion of them.
1 parent 3b233e1 commit 49a37c7

File tree

22 files changed

+66
-0
lines changed

22 files changed

+66
-0
lines changed

cli/conanfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# mypy: ignore-errors
2+
# pylint: skip-file
3+
14
from pathlib import Path
25

36
from conans import ConanFile, tools

conanfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# mypy: ignore-errors
2+
# pylint: skip-file
3+
14
from pathlib import Path
25
from conans import CMake, ConanFile, RunEnvironment, tools
36

engine/conanfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# mypy: ignore-errors
2+
# pylint: skip-file
3+
14
import os
25
from pathlib import Path
36
from conans import CMake, ConanFile, RunEnvironment, tools

fable/conanfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# mypy: ignore-errors
2+
# pylint: skip-file
3+
14
from pathlib import Path
25
from conans import CMake, ConanFile, RunEnvironment, tools
36

models/conanfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# mypy: ignore-errors
2+
# pylint: skip-file
3+
14
from pathlib import Path
25
from conans import CMake, ConanFile, RunEnvironment, tools
36

oak/conanfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# mypy: ignore-errors
2+
# pylint: skip-file
3+
14
from pathlib import Path
25
from conans import CMake, ConanFile, RunEnvironment, tools
36

optional/vtd/conanfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# mypy: ignore-errors
2+
# pylint: skip-file
3+
14
from pathlib import Path
25
import os
36
from shutil import rmtree

optional/vtd/vendor/open-simulation-interface-3.0.1/conanfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# mypy: ignore-errors
2+
# pylint: skip-file
3+
14
import os
25
import shutil
36

optional/vtd/vendor/open-simulation-interface-3.2.0/conanfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# mypy: ignore-errors
2+
# pylint: skip-file
3+
14
import os
25
import shutil
36

optional/vtd/vendor/osi-sensor-1.0.0-vtd2.2/conanfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# mypy: ignore-errors
2+
# pylint: skip-file
3+
14
import os
25
import shutil
36
from pathlib import Path

0 commit comments

Comments
 (0)