Changes

Changes from Git (git http://labmaster3.local/git/llvm-lnt.git)

Summary

  1. Tell mypy to ignore import of cython module (details)
  2. Fix return type in baseline()'s type hint (details)
  3. Help mypy with typing (details)
  4. Fix type hint for add_column in lnt.server.db.util (details)
  5. Fix mypy warning about short_help using __doc__ (details)
  6. Install future before running sphinx (details)
Commit c8a6486626c8af2db5dd899c7cd1b46623ceb998 by thomasp
Tell mypy to ignore import of cython module

Mypy complains following the import of cPerf because it cannot find the
module. This is because it is a cython module which mypy cannot inspect.
This commit tells mypy to ignore that import.

Reviewed By: danilaml

Differential Revision: https://reviews.llvm.org/D95065
The file was modifiedlnt/testing/profile/perf.py
Commit 38072912f259d031db8d59b407db8b1373974e38 by thomasp
Fix return type in baseline()'s type hint

Reviewed By: danilaml

Differential Revision: https://reviews.llvm.org/D95066
The file was modifiedlnt/server/ui/views.py
Commit 001ac8fa222a92e43f95d7fa45ba083dbbff423e by thomasp
Help mypy with typing

Give the type to _files and _queue which mypy is confused about.

Reviewed By: danilaml

Differential Revision: https://reviews.llvm.org/D95068
The file was modifiedlnt/util/wsgi_restart.py
Commit 1a7257d91049da83bca99684040720b80e2ad02e by thomasp
Fix type hint for add_column in lnt.server.db.util

statement variable in lnt.server.db.util's add_column method is of type
DDLElement. As per [1], the bind argument of its execute() method is
optional and take "an Engine or Connection". This commit updates
add_column's type hint accordingly.

[1]
https://docs.sqlalchemy.org/en/13/core/ddl.html#sqlalchemy.schema.DDLElement.execute

Reviewed By: danilaml

Differential Revision: https://reviews.llvm.org/D95064
The file was modifiedlnt/server/db/util.py
Commit 4d2d4dc9318999414e196df6ceca0af62d31c323 by thomasp
Fix mypy warning about short_help using __doc__

Several click.command use __doc__ for the short_help but mypy is getting
confused because its type is a union between str and unicode due to
changes between Python2 and Python3. This commit clarifies to Mypy that
it is a string by calling str on __doc__.

Reviewed By: danilaml

Differential Revision: https://reviews.llvm.org/D95067
The file was modifiedlnt/tests/compile.py
The file was modifiedlnt/tests/nt.py
The file was modifiedlnt/tests/test_suite.py
Commit f48d431f44610e339d00a33d57564c6029c4ff43 by thomasp
Install future before running sphinx

Fix Sphinx warning about lack of module named 'future' by making the
installation of future a dependency of sphinx in tox.ini

Reviewed By: danilaml

Differential Revision: https://reviews.llvm.org/D95069
The file was modifiedtox.ini

Changes from Git (git https://github.com/llvm/llvm-project.git)

Summary

  1. [BuildLibcalls] Mark some libcalls with inaccessiblememonly and inaccessiblemem_or_argmemonly (details)
Commit 16d6e8527189298c75bf5690c771e8ab6dc3628d by Dávid Bolvanský
[BuildLibcalls] Mark some libcalls with inaccessiblememonly and inaccessiblemem_or_argmemonly

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D94850
The file was modifiedllvm/test/Transforms/InferFunctionAttrs/annotate.ll
The file was modifiedllvm/lib/Transforms/Utils/BuildLibCalls.cpp