summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyproject.toml5
-rw-r--r--tests/test_board.py1
2 files changed, 6 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index b270154..2058c31 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -24,3 +24,8 @@ source-roots = ["./"]
[tool.pylint.basic]
docstring-min-length = 0
+
+[tool.pylint.messages]
+# Jostain syystä paikallisesti b._Board__tiles privatti tietojen lukemisen
+# aiheuttamaa linttausvirhettä ei voinut disabloida.
+disable = "invalid-name"
diff --git a/tests/test_board.py b/tests/test_board.py
index 4fcd8d3..19795b9 100644
--- a/tests/test_board.py
+++ b/tests/test_board.py
@@ -1,4 +1,5 @@
"""test_board.py - Testit pelilaudalle"""
+# pylint: disable = protected-access
import unittest
from board.board import Board