Remove needless lint exceptions (MR 2334)

- Ruff won't complain about long lines which end in a long URL.
- The typing exception is no longer required.
This commit is contained in:
Hugo Osvaldo Barrera 2024-06-24 10:07:12 +02:00 committed by Newbyte
parent c4e7878832
commit d6d088b68b
No known key found for this signature in database
GPG key ID: 8A700086A9FE41FD
2 changed files with 2 additions and 2 deletions

View file

@ -529,7 +529,7 @@ kconfig_options_netboot = {
} }
# Necessary wireguard & wg-quick kernel config options # Necessary wireguard & wg-quick kernel config options
# From https://gitweb.gentoo.org/repo/gentoo.git/tree/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild?id=76aaa1eeb6f001baaa68e6946f917ebb091bbd9d # noqa # From https://gitweb.gentoo.org/repo/gentoo.git/tree/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild?id=76aaa1eeb6f001baaa68e6946f917ebb091bbd9d
kconfig_options_wireguard = { kconfig_options_wireguard = {
">=5.6_rc1": { # all versions ">=5.6_rc1": { # all versions
"all": { # all arches "all": { # all arches

View file

@ -1285,7 +1285,7 @@ def get_parser():
def arguments(): def arguments():
# Parse and extend arguments (also backup unmodified result from argparse) # Parse and extend arguments (also backup unmodified result from argparse)
args: PmbArgs = get_parser().parse_args() # type: ignore args: PmbArgs = get_parser().parse_args()
# setattr(args, "from_argparse", copy.deepcopy(args)) # setattr(args, "from_argparse", copy.deepcopy(args))
# setattr(args.from_argparse, "from_argparse", args.from_argparse) # setattr(args.from_argparse, "from_argparse", args.from_argparse)