This is an automated email from the ASF dual-hosted git repository.

junrushao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 4819300803 [CI][Lint] Update black (#14346)
4819300803 is described below

commit 4819300803fd2477180d3b38972e24eb080f1c08
Author: AndrewZhaoLuo <[email protected]>
AuthorDate: Mon Mar 20 22:26:22 2023 -0700

    [CI][Lint] Update black (#14346)
    
    Goes to the latest revision in the same major version (22.12.0).
    
    23.1.0 is released but it involves some style changes so we would need to 
reformat the entire codebase.
    
    I need 22.12.0 to properly deal with processing some files found in this PR:
    
    https://github.com/apache/tvm/pull/14167
    
    Where black cannot parse the file in the current version, but can in the 
updated version.
---
 docker/Dockerfile.ci_lint | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/Dockerfile.ci_lint b/docker/Dockerfile.ci_lint
index f7d5838877..8b84f4a501 100644
--- a/docker/Dockerfile.ci_lint
+++ b/docker/Dockerfile.ci_lint
@@ -35,7 +35,7 @@ ENV PYTHONNOUSERSITE 1  # Disable .local directory from 
affecting CI.
 
 RUN apt-get update && apt-install-and-clear -y doxygen graphviz curl shellcheck
 
-RUN pip3 install cpplint pylint==2.4.4 mypy==0.902 black==22.3.0 flake8==3.9.2 
blocklint==0.2.3 jinja2==3.0.3
+RUN pip3 install cpplint pylint==2.4.4 mypy==0.902 black==22.12.0 
flake8==3.9.2 blocklint==0.2.3 jinja2==3.0.3
 
 # Rust env (build early; takes a while)
 COPY install/ubuntu_install_rust.sh /install/ubuntu_install_rust.sh

Reply via email to