You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the migration to Ubuntu noble for the linter and dev docker images, mypy linting is no longer working. The flake8 integration used has been deprecated since 2020 and it seems that mypy is stuck with using an older interpreter. This would be a good candidate to migrate to the next linting solution (#1896).
Steps to reproduce:
Introduce change to a python file
Run arc lint
See the following error
>>> Lint for tools/licenses/checker.py:
Error (T499) flake8 T499
usage: mypy [-h] [-v] [-V] [more options; see below]
>>> 1 #!/usr/bin/env python3
^
2
3 # Copyright 2018- The Pixie Authors.
4 #
Error (T499) flake8 T499
[-m MODULE] [-p PACKAGE] [-c PROGRAM_TEXT] [files ...]
1 #!/usr/bin/env python3
>>> 2
^
3 # Copyright 2018- The Pixie Authors.
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
Error (T499) flake8 T499
mypy: error: argument --python-version: Python 3.6 is not supported (must
be 3.8 or higher)
1 #!/usr/bin/env python3
2
>>> 3 # Copyright 2018- The Pixie Authors.
^
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
The text was updated successfully, but these errors were encountered:
Since the migration to Ubuntu noble for the linter and dev docker images, mypy linting is no longer working. The flake8 integration used has been deprecated since 2020 and it seems that mypy is stuck with using an older interpreter. This would be a good candidate to migrate to the next linting solution (#1896).
Steps to reproduce:
arc lint
The text was updated successfully, but these errors were encountered: