diff --git a/.flake8 b/.flake8 deleted file mode 100644 index df547cab6..000000000 --- a/.flake8 +++ /dev/null @@ -1,7 +0,0 @@ -# -# Copyright 2021, Breakaway Consulting Pty. Ltd. -# -# SPDX-License-Identifier: BSD-2-Clause -# -[flake8] -ignore = E501 diff --git a/DEVELOPER.md b/DEVELOPER.md index fb57c15b6..76bd00a01 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -49,7 +49,7 @@ On a Debian-like system you can do: $ rustup component add rust-src --toolchain stable-x86_64-unknown-linux-gnu $ python3.12 -m venv pyenv $ ./pyenv/bin/pip install --upgrade pip setuptools wheel - $ ./pyenv/bin/pip install -r requirements.txt + $ ./pyenv/bin/pip install --upgrade sel4-deps If you do not have Python 3.12 available, you can get it via the *deadsnakes* PPA: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa diff --git a/ci/install_ubuntu_deps.sh b/ci/install_ubuntu_deps.sh index 1727f6fb9..fac031906 100755 --- a/ci/install_ubuntu_deps.sh +++ b/ci/install_ubuntu_deps.sh @@ -34,4 +34,4 @@ sudo apt-get install -qq \ python3.12 -m venv pyenv ./pyenv/bin/pip install --upgrade pip setuptools wheel -./pyenv/bin/pip install -r requirements.txt +./pyenv/bin/pip install --upgrade sel4-deps diff --git a/flake.nix b/flake.nix index 2ad0102f0..2cd3db887 100644 --- a/flake.nix +++ b/flake.nix @@ -38,10 +38,8 @@ ); python = pkgs.python312; + # sel4-deps pythonPackages = python.withPackages (ps: [ - ps.mypy - ps.black - ps.flake8 ps.ply ps.jinja2 ps.pyaml diff --git a/mypy.ini b/mypy.ini deleted file mode 100644 index 6d4b7d715..000000000 --- a/mypy.ini +++ /dev/null @@ -1,23 +0,0 @@ -# -# Copyright 2021, Breakaway Consulting Pty. Ltd. -# -# SPDX-License-Identifier: BSD-2-Clause -# -[mypy] -warn_unused_configs = True -disallow_any_unimported = True -disallow_any_expr = False -disallow_any_decorated = True -disallow_any_explicit = True -disallow_any_generics = True -disallow_subclassing_any = True -disallow_untyped_calls = True -disallow_untyped_defs = True -disallow_incomplete_defs = True -disallow_untyped_decorators = True -no_implicit_optional = True -warn_redundant_casts = True -warn_unused_ignores = True -warn_return_any = True -warn_unreachable = True -strict_equality = True diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index a3631824e..000000000 --- a/requirements.txt +++ /dev/null @@ -1,13 +0,0 @@ -# -# Copyright 2021, Breakaway Consulting Pty. Ltd. -# -# SPDX-License-Identifier: BSD-2-Clause -# -mypy==0.910 -black==21.7b0 -flake8==3.9.2 -ply==3.11 -Jinja2==3.0.3 -PyYAML==6.0.2 -pyfdt==0.3 -lxml==5.2.1