Skip to content

Commit

Permalink
[ci] Enable pylint for tests/python/ci (apache#11666)
Browse files Browse the repository at this point in the history
This fixes up the pylint issues as part of apache#11414 for the CI tests
  • Loading branch information
driazati authored and blackkker committed Jul 7, 2022
1 parent d8798ec commit 40bfdfe
Show file tree
Hide file tree
Showing 6 changed files with 157 additions and 81 deletions.
3 changes: 2 additions & 1 deletion tests/lint/pylint.sh
Expand Up @@ -21,4 +21,5 @@ python3 -m pylint python/tvm --rcfile="$(dirname "$0")"/pylintrc
python3 -m pylint vta/python/vta --rcfile="$(dirname "$0")"/pylintrc
python3 -m pylint tests/python/unittest/test_tvmscript_type.py --rcfile="$(dirname "$0")"/pylintrc
python3 -m pylint tests/python/contrib/test_cmsisnn --rcfile="$(dirname "$0")"/pylintrc

python3 -m pylint tests/python/relay/aot/*.py --rcfile="$(dirname "$0")"/pylintrc
python3 -m pylint tests/python/ci --rcfile="$(dirname "$0")"/pylintrc
17 changes: 17 additions & 0 deletions tests/python/ci/__init__.py
@@ -0,0 +1,17 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
"""Infrastructure and tests for CI scripts"""

0 comments on commit 40bfdfe

Please sign in to comment.