forked from rook/rook
ci: fix pylint errors
Afte pylint was updated to version 3.2.0 a set of new errors appeared. This makes ci passing by either fixing the problem or ignoring it in the check Signed-off-by: NymanRobin <robin.nyman@est.tech>
This commit is contained in:
@@ -12,6 +12,7 @@ subst = "\\1/%s/"
|
||||
|
||||
|
||||
def define_env(env):
|
||||
target = None
|
||||
repo = Repository(".")
|
||||
if repo is not None:
|
||||
target = repo.head.shorthand
|
||||
|
||||
@@ -14,6 +14,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
# pylint: disable=E0606
|
||||
|
||||
import errno
|
||||
import sys
|
||||
import json
|
||||
|
||||
Reference in New Issue
Block a user