Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 866997 Details for
Bug 911696
dev-python/autopep8-2.0.2 fails tests (PYTHON-3.12-SYSTEM): AttributeError: module pycodestyle has no attribute missing_whitespace_around_operator
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 338.06 KB, created by
Agostino Sarubbo
on 2023-08-04 07:15:07 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2023-08-04 07:15:07 UTC
Size:
338.06 KB
patch
obsolete
> * Package: dev-python/autopep8-2.0.2:0 > * Repository: gentoo > * Maintainer: python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 test > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo-mirror/gentoo/commit/9c6d557681d9d6b18666bffba7053d83d810ed8c (Thu Aug 3 21:01:46 UTC 2023) >@@@@@ END @@@@@ > > > >################## ># emerge --info: # >################## >Portage 3.0.49 (python 3.12.0-beta-4, default/linux/amd64/17.1, gcc-13, glibc-2.37-r4, 6.1.38-gentoo-dist x86_64) >================================================================= >System uname: Linux-6.1.38-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 >KiB Mem: 263516584 total, 32267308 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Thu, 03 Aug 2023 21:01:45 +0000 >sh bash 5.2_p15-r6 >ld GNU ld (Gentoo 2.41 p1) 2.41 >app-misc/pax-utils: 1.3.7::gentoo >app-shells/bash: 5.2_p15-r6::gentoo >dev-lang/perl: 5.38.0-r1::gentoo >dev-lang/python: 3.10.12::gentoo, 3.11.4::gentoo, 3.12.0_beta4_p1::gentoo >dev-util/cmake: 3.27.1-r1::gentoo >dev-util/meson: 1.2.0::gentoo >sys-apps/baselayout: 2.14::gentoo >sys-apps/openrc: 0.48::gentoo >sys-apps/sandbox: 2.37::gentoo >sys-devel/autoconf: 2.71-r7::gentoo >sys-devel/automake: 1.16.5-r1::gentoo >sys-devel/binutils: 2.41::gentoo >sys-devel/binutils-config: 5.5::gentoo >sys-devel/gcc: 13.2.0::gentoo >sys-devel/gcc-config: 2.11::gentoo >sys-devel/libtool: 2.4.7-r1::gentoo >sys-devel/make: 4.4.1-r1::gentoo >sys-kernel/linux-headers: 6.4::gentoo (virtual/os-headers) >sys-libs/glibc: 2.37-r4::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > volatile: True > sync-rsync-verify-jobs: 1 > sync-rsync-verify-max-age: 24 > sync-rsync-extra-opts: > sync-rsync-verify-metamanifest: yes > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* MIT" >CBUILD="x86_64-pc-linux-gnu" >CFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXXFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >DISTDIR="/var/tmp/portage/dev-python/autopep8-2.0.2/distdir" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b --backtrack=100" >ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" >FCFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://distfiles.gentoo.org" >LANG="C.UTF8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" >LEX="flex" >MAKEOPTS="-j8" >PKGDIR="/root/tbci/binpkg" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >SHELL="/bin/bash" >USE="acl amd64 bzip2 cli crypt debug dri elogind fortran gdbm iconv ipv6 jumbo-build libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl test test-rust unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="pypy3 python3_10 python3_11" >Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS > > > > > >############################## ># emerge history (qlop -mv): # >############################## >2023-08-03T23:14:54 >>> dev-python/pycodestyle-2.11.0 >2023-08-03T23:14:57 >>> dev-python/autopep8-2.0.2 >2023-08-03T23:15:15 >>> dev-python/iniconfig-2.0.0 >2023-08-03T23:15:16 >>> dev-python/exceptiongroup-1.1.2 >2023-08-03T23:15:16 >>> dev-python/flit_scm-1.7.0 >2023-08-03T23:15:17 >>> dev-python/hatch-vcs-0.3.0 >2023-08-03T23:15:28 >>> dev-python/pytest-7.4.0 > > > > >####################################### ># installed packages (qlist -ICvUSS): # >####################################### >acct-group/audio-0-r2:0 >acct-group/cdrom-0-r2:0 >acct-group/dialout-0-r2:0 >acct-group/disk-0-r2:0 >acct-group/floppy-0-r1:0 >acct-group/input-0-r2:0 >acct-group/kmem-0-r2:0 >acct-group/kvm-0-r2:0 >acct-group/lp-0-r2:0 >acct-group/man-0-r2:0 >acct-group/messagebus-0-r2:0 >acct-group/polkitd-0-r2:0 >acct-group/portage-0-r1:0 >acct-group/render-0-r2:0 >acct-group/root-0-r1:0 >acct-group/sgx-0-r1:0 >acct-group/sshd-0-r2:0 >acct-group/tape-0-r2:0 >acct-group/tty-0-r2:0 >acct-group/usb-0-r2:0 >acct-group/video-0-r2:0 >acct-user/man-1-r2:0 >acct-user/messagebus-0-r2:0 >acct-user/polkitd-0-r2:0 >acct-user/portage-0-r2:0 >acct-user/sshd-0-r2:0 >app-admin/eselect-1.4.25:0 -doc -emacs -vim-syntax >app-admin/perl-cleaner-2.31:0 -pkgcore >app-alternatives/awk-4:0 -busybox gawk -mawk -nawk split-usr >app-alternatives/bc-0:0 -gh gnu >app-alternatives/bzip2-1:0 -lbzip2 -pbzip2 reference split-usr >app-alternatives/cpio-0:0 gnu -libarchive split-usr >app-alternatives/gzip-0:0 -pigz reference split-usr >app-alternatives/lex-0-r1:0 flex -reflex >app-alternatives/sh-0:0 bash -busybox -dash -ksh -lksh -mksh >app-alternatives/tar-0:0 gnu -libarchive split-usr >app-alternatives/yacc-1-r2:0 bison -byacc -reference >app-arch/bzip2-1.0.8-r4:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static -static-libs -verify-sig >app-arch/cpio-2.14:0 nls >app-arch/gzip-1.12-r4:0 -pic -static -verify-sig >app-arch/libarchive-3.7.1:0/13 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -blake2 bzip2 e2fsprogs -expat iconv -lz4 lzma -lzo -nettle -static-libs -verify-sig xattr -zstd >app-arch/tar-1.35:0 acl -minimal nls -selinux -verify-sig xattr >app-arch/unzip-6.0_p27-r1:0 bzip2 -natspec unicode >app-arch/xz-utils-5.4.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc extra-filters nls split-usr -static-libs -verify-sig >app-arch/zstd-1.5.5:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -lz4 lzma split-usr -static-libs -test zlib >app-crypt/gnupg-2.4.3:0 bzip2 -doc -ldap nls readline -selinux smartcard ssl -test tofu -tools -tpm -usb -user-socket -verify-sig -wks-server >app-crypt/gpgme-1.21.0:1/11.6.15.2 -common-lisp cxx debug -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -qt5 -static-libs -test -verify-sig >app-crypt/libb2-0.98.1-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -native-cflags openmp -static-libs >app-crypt/pinentry-1.2.1-r3:0 -X -caps -efl -emacs -gtk -keyring ncurses -qt5 -verify-sig -wayland >app-crypt/rhash-1.4.4:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug nls ssl -static-libs >app-editors/nano-7.2-r1:0 -debug -justify -magic -minimal ncurses nls spell -static unicode >app-eselect/eselect-fontconfig-20220403:0 >app-eselect/eselect-iptables-20220320:0 >app-eselect/eselect-lib-bin-symlink-0.1.1-r1:0 >app-eselect/eselect-pinentry-0.7.2-r1:0 >app-i18n/man-pages-ja-20180315-r1:0 >app-i18n/man-pages-l10n-4.19.0:0 l10n_cs l10n_da l10n_de l10n_el l10n_es l10n_fi l10n_fr l10n_hu l10n_id l10n_it l10n_mk l10n_nb l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_ru l10n_sr l10n_sv l10n_uk l10n_vi >app-i18n/man-pages-zh_CN-1.6.4.0:0 >app-misc/ca-certificates-20230311.3.90:0 -cacert >app-misc/editor-wrapper-4-r1:0 >app-misc/mime-types-2.1.54:0 -nginx >app-misc/pax-utils-1.3.7:0 -caps -man -python -python_single_target_python3_10 python_single_target_python3_11 -seccomp -test >app-misc/tmux-3.3a-r1:0 debug -selinux -systemd -utempter -vim-syntax >app-portage/eix-0.36.7:0 debug -doc nls -sqlite >app-portage/elt-patches-20221210:0 >app-portage/gemato-20.4:0 gpg -pretty-log python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test -tools >app-portage/gentoolkit-0.6.1-r3:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 -test >app-portage/portage-utils-0.96.1:0 openmp qmanifest qtegrity -static >app-shells/bash-5.2_p15-r6:0 -afs -bashlogger -examples -mem-scramble net nls -pgo -plugins readline -verify-sig >app-shells/bash-completion-2.11:0 eselect -test >app-shells/gentoo-bashcomp-20230313:0 >app-shells/push-3.4:0 >app-shells/quoter-4.2:0 >app-text/ansifilter-2.20:0 -gui >app-text/asciidoc-10.2.0:0 -python_single_target_pypy3 -python_single_target_python3_10 python_single_target_python3_11 >app-text/build-docbook-catalog-2.4:0 >app-text/docbook-xml-dtd-4.5-r2:4.5 >app-text/docbook-xml-dtd-4.4-r3:4.4 >app-text/docbook-xml-dtd-4.2-r3:4.2 >app-text/docbook-xml-dtd-4.1.2-r7:4.1.2 >app-text/docbook-xsl-ns-stylesheets-1.79.1:0 -ruby >app-text/docbook-xsl-stylesheets-1.79.1-r4:0 -ruby >app-text/manpager-1:0 >app-text/opensp-1.5.2-r10:0 -doc nls -static-libs -test >app-text/po4a-0.69:0 -test -test >app-text/sgml-common-0.6.3-r7:0 >app-text/xmlto-0.0.28-r10:0 -latex text >dev-db/sqlite-3.42.0:3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -doc -icu readline -secure-delete -static-libs -tcl -test -tools >dev-lang/duktape-2.7.0-r3:0/2.7.0 >dev-lang/perl-5.38.0-r1:0/5.38 -berkdb debug -doc gdbm ithreads -minimal -quadmath >dev-lang/python-3.12.0_beta4_p1:3.12 -bluetooth -build debug ensurepip -examples gdbm -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig >dev-lang/python-3.11.4:3.11 -bluetooth -build debug ensurepip -examples gdbm -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig >dev-lang/python-3.10.12:3.10 -bluetooth -build debug ensurepip -examples gdbm -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig xml >dev-lang/python-exec-2.4.10:2 native-symlinks python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-lang/python-exec-conf-2.4.6:2 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >dev-lang/tcl-8.6.13-r1:0/8.6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug threads >dev-libs/boehm-gc-8.2.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cxx large -static-libs threads >dev-libs/elfutils-0.189-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -debuginfod -lzma nls -static-libs -test utils -verify-sig -zstd >dev-libs/expat-2.5.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples -static-libs -test unicode >dev-libs/glib-2.76.4:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -dbus debug elf -gtk-doc mime -selinux -static-libs -sysprof -systemtap -test -utils xattr >dev-libs/gmp-6.3.0:0/10.4 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cpudetection cxx -doc -pic -static-libs >dev-libs/gobject-introspection-1.76.1:0 -doctool -gtk-doc -python_single_target_python3_10 python_single_target_python3_11 -test >dev-libs/gobject-introspection-common-1.76.1:0 >dev-libs/isl-0.26:0/23 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/jsoncpp-1.9.5:0/25 -doc -test >dev-libs/libassuan-2.5.6:0 -verify-sig >dev-libs/libatomic_ops-7.8.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >dev-libs/libevent-2.1.12-r1:0/2.1-7 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 clock-gettime debug -malloc-replacement ssl -static-libs -test -verbose-debug -verify-sig >dev-libs/libffi-3.4.4-r1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -exec-static-trampoline -pax-kernel -static-libs -test >dev-libs/libgcrypt-1.10.2:0/20 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec -cpu_flags_ppc_vsx2 -cpu_flags_ppc_vsx3 cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 -cpu_flags_x86_padlock -cpu_flags_x86_sha cpu_flags_x86_sse4_1 -doc getentropy -static-libs -verify-sig >dev-libs/libgpg-error-1.47:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -common-lisp nls -static-libs -test -verify-sig >dev-libs/libksba-1.6.4:0 -static-libs -verify-sig >dev-libs/libltdl-2.4.7-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/libpcre2-10.42-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 jit -libedit pcre16 pcre32 readline split-usr -static-libs unicode -valgrind -verify-sig zlib >dev-libs/libpipeline-1.5.7:0 -test >dev-libs/libtasn1-4.19.0:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -test -verify-sig >dev-libs/libunistring-1.1-r1:0/5 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -static-libs >dev-libs/libuv-1.46.0:0/1 >dev-libs/libxml2-2.11.4:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -examples ftp -icu -lzma python python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 readline -static-libs -test >dev-libs/libxslt-1.1.38:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 crypt debug -examples -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -static-libs >dev-libs/lzo-2.10:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples split-usr -static-libs >dev-libs/mpc-1.3.1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/mpfr-4.2.0_p12:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -verify-sig >dev-libs/nettle-3.9.1:0/8-6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec -cpu_flags_ppc_vsx2 -cpu_flags_ppc_vsx3 cpu_flags_x86_aes cpu_flags_x86_pclmul -cpu_flags_x86_sha -doc gmp -static-libs -verify-sig >dev-libs/npth-1.6-r1:0 -test >dev-libs/openssl-3.1.2:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cpu_flags_x86_sse2 -fips -ktls -rfc3779 -sctp -static-libs -test -tls-compression -vanilla -verify-sig -verify-sig -weak-ssl-ciphers >dev-libs/popt-1.19:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static-libs >dev-perl/Encode-EUCJPASCII-0.30.0-r1:0 -test >dev-perl/Encode-HanExtra-0.230.0-r3:0 >dev-perl/Encode-Locale-1.50.0-r1:0 -test >dev-perl/ExtUtils-CChecker-0.110.0:0 -test >dev-perl/File-BaseDir-0.90.0:0 -test >dev-perl/File-DesktopEntry-0.220.0-r1:0 -test >dev-perl/File-MimeInfo-0.330.0:0 -test >dev-perl/IO-Socket-SSL-2.83.0:0 -examples -idn -test >dev-perl/IPC-System-Simple-1.300.0:0 -test >dev-perl/Locale-gettext-1.70.0-r1:0 -test >dev-perl/MIME-Charset-1.13.1:0 l10n_ja l10n_zh -test >dev-perl/Module-Build-0.423.400:0 -test >dev-perl/Mozilla-CA-20999999-r1:0 -test >dev-perl/Net-SSLeay-1.920.0-r1:0 -examples -examples -minimal -test >dev-perl/Pod-Parser-1.660.0:0 -test >dev-perl/Regexp-IPv6-0.30.0-r2:0 -test >dev-perl/SGMLSpm-1.1-r2:0 -test >dev-perl/Syntax-Keyword-Try-0.280.0:0 -test >dev-perl/TermReadKey-2.380.0-r1:0 -examples -test >dev-perl/Text-CharWidth-0.40.0-r2:0 -test >dev-perl/Text-WrapI18N-0.60.0-r2:0 -test >dev-perl/Unicode-LineBreak-2019.1.0:0 >dev-perl/URI-5.190.0-r1:0 -test >dev-perl/XS-Parse-Keyword-0.360.0:0 -test >dev-perl/YAML-Tiny-1.740.0:0 -minimal -test >dev-python/autopep8-2.0.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 -test >dev-python/calver-2022.06.26:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/certifi-3021.3.16-r3:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/charset-normalizer-3.2.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/cython-3.0.0-r1:0 debug -doc python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/editables-0.5:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/ensurepip-pip-23.2.1:0 >dev-python/ensurepip-setuptools-68.0.0:0 >dev-python/ensurepip-wheels-100:0 >dev-python/exceptiongroup-1.1.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/flit-core-3.9.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/flit_scm-1.7.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >dev-python/gentoo-common-1:0 >dev-python/gpep517-13:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/hatch-vcs-0.3.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/hatchling-1.18.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/idna-3.4:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/iniconfig-2.0.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/installer-0.7.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/jaraco-context-4.3.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/jaraco-functools-3.8.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/jaraco-text-3.11.1-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/jinja-3.1.2:0 -doc -examples python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/lxml-4.9.3-r1:0 debug -doc -examples python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test threads >dev-python/markupsafe-2.1.3:0 debug python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/more-itertools-10.0.0:0 -doc python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/nspektr-0.4.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/ordered-set-4.1.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/packaging-23.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/pathspec-0.11.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/platformdirs-3.10.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/pluggy-1.2.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/pycodestyle-2.11.0:0 -doc python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/pyparsing-3.1.1:0 -examples python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/pypy-7.3.12:0/73 bzip2 -full-stdlib gdbm jit ncurses -sqlite -tk >dev-python/pypy-exe-bin-7.3.12:7.3.12 >dev-python/pypy3-7.3.12:0/pypy310-pp73-384 gdbm ncurses sqlite -tk >dev-python/pypy3_10-7.3.12_p1:0/pypy310-pp73-384 ensurepip gdbm jit ncurses sqlite -tk >dev-python/pypy3_10-exe-7.3.12_p2:7.3.12 cpu_flags_x86_sse2 jit -low-memory ncurses >dev-python/PySocks-1.7.1-r2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >dev-python/pytest-7.4.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/requests-2.31.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -socks5 -test test-rust >dev-python/setuptools-68.0.0-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/setuptools-scm-7.1.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/tomli-2.0.1-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/trove-classifiers-2023.7.6:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/typing-extensions-4.7.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/urllib3-2.0.4:0 -brotli python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test -zstd >dev-python/wheel-0.41.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-util/checkbashisms-2.23.5:0 >dev-util/cmake-3.27.1-r1:0 -dap -doc -emacs ncurses -qt5 -test -test -verify-sig >dev-util/desktop-file-utils-0.26-r2:0 -emacs >dev-util/glib-utils-2.76.4:0 -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_12 >dev-util/gperf-3.1-r1:0 >dev-util/gtk-doc-am-1.33.2:0 >dev-util/meson-1.2.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-util/meson-format-array-0:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >dev-util/ninja-1.11.1-r2:0 -doc -emacs -test >dev-util/pkgconf-1.8.1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -test >dev-util/re2c-2.2:0 debug -test >dev-vcs/git-2.41.0:0 blksha1 -cgi curl -cvs -doc gpg -highlight iconv -keyring -mediawiki nls pcre -perforce -perl -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_12 safe-directory -selinux -subversion -test -tk webdav -xinetd >media-fonts/liberation-fonts-2.1.5:0 -X -X -fontforge >media-gfx/graphite2-1.3.14_p20210810-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -perl -test >media-libs/fontconfig-2.14.2-r3:1.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc nls -test >media-libs/freetype-2.13.1:2 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 adobe-cff -brotli bzip2 cleartype-hinting debug -doc -fontforge harfbuzz -infinality png -static-libs -svg -utils >media-libs/harfbuzz-8.1.1:0/6.0.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 cairo debug -doc -experimental glib graphite -icu introspection -test truetype >media-libs/libpng-1.6.40-r1:0/16 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -apng -cpu_flags_arm_neon cpu_flags_x86_sse -static-libs >net-dns/c-ares-1.19.1:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -test -verify-sig >net-dns/libidn2-2.3.4:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static-libs -verify-sig >net-firewall/iptables-1.8.9:0/1.8.3 -conntrack -netlink -nftables -pcap split-usr -static-libs >net-libs/gnutls-3.8.0:0/30.30 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -brotli cxx -dane -doc -examples idn nls openssl -pkcs11 seccomp -sslv2 -sslv3 -static-libs -test -test-full tls-heartbeat -tools -verify-sig zlib -zstd >net-libs/libmnl-1.0.5:0/0.2.0 -examples -verify-sig >net-libs/libnsl-2.0.0-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >net-libs/libtirpc-1.3.3:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -kerberos split-usr -static-libs >net-libs/nghttp2-1.52.0:0/1.14 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -hpack-tools -jemalloc -static-libs -systemd -test -utils -xml >net-misc/curl-8.2.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 adns -alt-svc -brotli -curl_ssl_gnutls -curl_ssl_mbedtls -curl_ssl_nss curl_ssl_openssl -curl_ssl_rustls ftp -gnutls -gopher -hsts http2 -idn imap -kerberos -ldap -mbedtls -nghttp3 -nss openssl pop3 progress-meter -rtmp -rustls -samba smtp -ssh ssl -sslv3 -static-libs -telnet -test tftp -verify-sig -websockets -zstd >net-misc/dhcpcd-10.0.2:0 debug embedded ipv6 -privsep udev >net-misc/iputils-20221126-r1:0 arping -caps -clockdiff -doc filecaps -idn nls -test -tracepath >net-misc/netifrc-0.7.5:0 dhcp >net-misc/openssh-9.3_p2:0 -X -abi_mips_n32 -audit -debug -kerberos -ldns -libedit -livecd pam -pie -security-key -selinux ssl -static -test -verify-sig -xmss >net-misc/rsync-3.2.7-r2:0 acl -examples iconv -lz4 -python_single_target_python3_10 python_single_target_python3_11 -rrsync ssl -stunnel -system-zlib -verify-sig xattr -xxhash -zstd >net-misc/wget-1.21.4:0 -cookie-check debug -gnutls -idn ipv6 -metalink nls -ntlm pcre ssl -static -test -uuid -verify-sig zlib >perl-core/File-Temp-0.231.100:0 >sec-keys/openpgp-keys-gentoo-release-20230329:0 -test >sys-apps/acl-2.3.1-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls split-usr -static-libs >sys-apps/attr-2.5.1-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug nls split-usr -static-libs >sys-apps/baselayout-2.14:0 -build split-usr >sys-apps/coreutils-9.3-r3:0 acl -caps -gmp -hostname -kill -multicall nls openssl -selinux split-usr -static -test -vanilla -verify-sig xattr >sys-apps/dbus-1.15.6:0 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -doc elogind -selinux -static-libs -systemd -test -test -valgrind >sys-apps/debianutils-5.8:0 installkernel -static >sys-apps/diffutils-3.10:0 nls -verify-sig >sys-apps/file-5.45-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -lzip -lzma -python python_targets_python3_10 python_targets_python3_11 -seccomp -static-libs -verify-sig zlib -zstd >sys-apps/findutils-4.9.0-r2:0 nls -selinux -static -test -verify-sig >sys-apps/gawk-5.2.2:0 -mpfr nls -pma readline -verify-sig >sys-apps/gentoo-functions-0.19:0 >sys-apps/grep-3.11:0 egrep-fgrep nls pcre -static -verify-sig >sys-apps/groff-1.23.0:0 -X -examples -uchardet >sys-apps/help2man-1.49.3:0 nls >sys-apps/install-xattr-0.8-r1:0 >sys-apps/iproute2-6.4.0:0 -atm -berkdb -bpf -caps -elf iptables -libbsd -minimal -nfs -selinux split-usr >sys-apps/kbd-2.6.1:0 nls pam -selinux -test >sys-apps/kmod-30-r1:0 debug -doc lzma -pkcs7 -python python_targets_python3_10 python_targets_python3_11 -static-libs tools zlib zstd >sys-apps/less-633-r2:0 pcre >sys-apps/locale-gen-2.23-r1:0 >sys-apps/man-db-2.11.2:0 manpager nls seccomp -selinux -static-libs zlib >sys-apps/man-pages-6.05:0 l10n_cs l10n_da l10n_de l10n_el l10n_es l10n_fi l10n_fr l10n_hu l10n_id l10n_it l10n_ja l10n_mk l10n_nb l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_ru l10n_sr l10n_sv l10n_uk l10n_vi l10n_zh-CN >sys-apps/miscfiles-1.5-r4:0 -minimal >sys-apps/net-tools-2.10:0 arp hostname ipv6 -nis nls -plipconfig -selinux -slattach -static >sys-apps/openrc-0.48:0 -audit -bash debug ncurses netifrc -newnet pam -selinux -sysv-utils unicode >sys-apps/portage-3.0.49-r2:0 -apidoc -build debug -doc -gentoo-dev ipc native-extensions python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 rsync-verify -selinux -test -test xattr >sys-apps/sandbox-2.37:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 nnp >sys-apps/sed-4.9:0 acl nls -selinux -static -verify-sig >sys-apps/shadow-4.13-r4:0/4 acl -audit -bcrypt -cracklib nls pam -selinux -skey split-usr -su -verify-sig xattr >sys-apps/systemd-utils-253.7:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -boot kmod -secureboot -selinux split-usr -split-usr -sysusers -test tmpfiles udev >sys-apps/sysvinit-3.07-r1:0 -ibm nls -selinux -static -verify-sig >sys-apps/texinfo-7.0.3:0 nls standalone -static >sys-apps/util-linux-2.39.1-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -build -caps cramfs -cryptsetup -fdformat hardlink -kill logger -magic ncurses nls pam -python python_targets_python3_10 python_targets_python3_11 readline -rtas -selinux -slang split-usr -static-libs su suid -systemd -test -tty-helpers -udev unicode -verify-sig >sys-apps/which-2.21:0 >sys-auth/elogind-252.9:0 acl -audit cgroup-hybrid debug -doc pam policykit -selinux -test >sys-auth/pambase-20220214:0 -caps -debug elogind -gnome-keyring -homed -minimal -mktemp nullok -pam_krb5 -pam_ssh passwdqc -pwhistory -pwquality -securetty -selinux sha512 -systemd -yescrypt >sys-auth/passwdqc-2.0.3:0 >sys-auth/polkit-122-r1:0 daemon duktape -examples -gtk introspection -kde pam -selinux -systemd -test >sys-devel/autoconf-2.71-r7:2.71 -emacs >sys-devel/autoconf-archive-2023.02.20:0 >sys-devel/autoconf-wrapper-20221207-r1:0 >sys-devel/automake-1.16.5-r1:1.16 -test >sys-devel/automake-wrapper-20221207:0 >sys-devel/bc-1.07.1-r6:0 -libedit readline -static >sys-devel/binutils-2.41:2.41 -cet -debuginfod -doc -gold -gprofng -hardened -multitarget nls -pgo plugins -static-libs -test -vanilla -zstd >sys-devel/binutils-config-5.5:0 native-symlinks >sys-devel/bison-3.8.2-r2:0 -examples nls -static -test -verify-sig >sys-devel/flex-2.6.4-r6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static -test >sys-devel/gcc-13.2.0:13 -ada -cet -custom-cflags cxx -d -debug -default-stack-clash-protection -default-znow -doc -fixed-point fortran -go graphite -hardened -ieee-long-double -jit -libssp lto -modula2 multilib nls nptl -objc -objc++ -objc-gc openmp -pch -pgo pie sanitize ssp -systemtap -test -valgrind -vanilla -vtv -zstd >sys-devel/gcc-config-2.11:0 cc-wrappers native-symlinks >sys-devel/gettext-0.22-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl cxx -doc -emacs -git -java -java ncurses nls openmp -static-libs -verify-sig xattr >sys-devel/gnuconfig-20230731:0 >sys-devel/libtool-2.4.7-r1:2 -vanilla >sys-devel/m4-1.4.19-r2:0 -examples nls -verify-sig >sys-devel/make-4.4.1-r1:0 -guile nls -static -verify-sig >sys-devel/patch-2.7.6-r5:0 -static -test -verify-sig xattr >sys-fs/e2fsprogs-1.47.0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cron -fuse nls split-usr -static-libs -test tools >sys-fs/udev-init-scripts-35:0 >sys-kernel/dracut-059-r3:0 -selinux -test >sys-kernel/gentoo-kernel-bin-6.1.43:6.1.43 initramfs -test >sys-kernel/installkernel-gentoo-7:0 -grub >sys-kernel/linux-headers-6.4:0 -headers-only >sys-libs/gdbm-1.23:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 berkdb nls readline -static-libs -test -verify-sig >sys-libs/glibc-2.37-r4:2.2 -audit -caps -cet -compile-locales -crypt -custom-cflags -doc -gd -hash-sysv-compat -headers-only multiarch multilib -multilib-bootstrap -nscd -perl -profile -selinux ssp stack-realign static-libs -suid -systemd -systemtap -test -vanilla >sys-libs/libcap-2.69:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 pam split-usr -static-libs -tools >sys-libs/libseccomp-2.5.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -experimental-loong -python python_targets_python3_10 python_targets_python3_11 -static-libs -test >sys-libs/libxcrypt-4.4.36:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 compat -headers-only split-usr -static-libs system -test >sys-libs/ncurses-6.4_p20230401:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -ada cxx debug -doc -gpm -minimal -profile split-usr -split-usr stack-realign -static-libs -test tinfo -trace -verify-sig >sys-libs/pam-1.5.3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -berkdb -debug filecaps -nis -selinux split-usr >sys-libs/readline-8.2_p1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static-libs unicode -utils -verify-sig >sys-libs/timezone-data-2023c:0 -leaps-timezone nls -zic-slim >sys-libs/zlib-1.2.13-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 minizip split-usr -static-libs -verify-sig >sys-process/procps-3.3.17-r2:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 elogind kill -modern-top ncurses nls -selinux split-usr -static-libs -systemd -test unicode >sys-process/psmisc-23.6:0 -X -apparmor nls -selinux -test >virtual/acl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >virtual/dev-manager-0-r2:0 >virtual/dist-kernel-6.1.43:0/6.1.43 >virtual/editor-0-r5:0 >virtual/libc-1-r1:0 >virtual/libcrypt-2-r1:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >virtual/libelf-3-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libiconv-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libintl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libudev-251-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -eudev sticky-tags -systemd >virtual/man-0-r4:0 >virtual/openssh-0:0 ssl >virtual/os-headers-0-r2:0 >virtual/package-manager-1:0 >virtual/pager-0-r1:0 >virtual/perl-Carp-1.540.0:0 >virtual/perl-CPAN-2.360.0:0 >virtual/perl-CPAN-Meta-2.150.10-r7:0 >virtual/perl-CPAN-Meta-YAML-0.18.0-r9:0 >virtual/perl-Data-Dumper-2.188.0:0 >virtual/perl-Encode-3.190.0:0 >virtual/perl-Exporter-5.770.0-r1:0 >virtual/perl-ExtUtils-CBuilder-0.280.238:0 >virtual/perl-ExtUtils-Install-2.220.0:0 >virtual/perl-ExtUtils-MakeMaker-7.700.0:0 >virtual/perl-ExtUtils-Manifest-1.730.0-r2:0 >virtual/perl-ExtUtils-ParseXS-3.510.0:0 >virtual/perl-File-Path-2.180.0-r2:0 >virtual/perl-File-Spec-3.880.0:0 >virtual/perl-File-Temp-0.231.100:0 >virtual/perl-Getopt-Long-2.540.0:0 >virtual/perl-JSON-PP-4.160.0-r1:0 >virtual/perl-libnet-3.150.0:0 ssl >virtual/perl-MIME-Base64-3.160.100_rc:0 >virtual/perl-Module-Metadata-1.0.37-r3:0 >virtual/perl-parent-0.241.0:0 >virtual/perl-Parse-CPAN-Meta-2.150.10-r7:0 >virtual/perl-Perl-OSType-1.10.0-r7:0 >virtual/perl-podlators-5.10.0:0 >virtual/perl-Scalar-List-Utils-1.630.0:0 >virtual/perl-Test-Harness-3.440.0-r1:0 >virtual/perl-Text-ParseWords-3.310.0-r1:0 >virtual/perl-version-0.992.900-r1:0 >virtual/pkgconfig-2-r1:0 >virtual/service-manager-1-r1:0 >virtual/ssh-0-r2:0 -minimal >virtual/tmpfiles-0-r5:0 -systemd >virtual/ttf-fonts-1-r2:0 >virtual/udev-217-r6:0 -systemd >virtual/w3m-1:0 >www-client/pybugz-0.13-r2:0 python_targets_python3_10 python_targets_python3_11 >www-client/w3m-0.5.3_p20230121:0 -X -fbcon -gdk-pixbuf -gpm -imlib l10n_ja -lynxkeymap nls -nntp ssl unicode -xface >x11-apps/xprop-1.2.6:0 >x11-apps/xset-1.2.5:0 >x11-base/xcb-proto-1.15.2:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >x11-base/xorg-proto-2023.2:0 -test >x11-libs/cairo-1.17.8:0 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -aqua -debug glib -gtk-doc -test >x11-libs/libICE-1.1.1-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >x11-libs/libSM-1.2.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc uuid >x11-libs/libX11-1.8.6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -test >x11-libs/libXau-1.0.11:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libxcb-1.15-r1:0/1.12 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -doc -selinux -test xkb >x11-libs/libXdmcp-1.1.4-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXext-1.3.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXmu-1.1.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXt-1.3.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -test >x11-libs/pixman-0.42.2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cpu_flags_arm_iwmmxt -cpu_flags_arm_iwmmxt2 -cpu_flags_arm_neon -cpu_flags_ppc_altivec cpu_flags_x86_mmxext cpu_flags_x86_sse2 cpu_flags_x86_ssse3 -loongson2f -static-libs -test >x11-libs/xtrans-1.5.0:0 -doc >x11-misc/compose-tables-1.8.6:0 >x11-misc/shared-mime-info-2.2:0 -test >x11-misc/xdg-utils-1.1.3_p20210805-r1:0 -dbus -doc -gnome > > >############# ># build.log # >############# > > >>>> Unpacking source... >>>> Unpacking autopep8-2.0.2.tar.gz to /var/tmp/portage/dev-python/autopep8-2.0.2/work >>>> Source unpacked in /var/tmp/portage/dev-python/autopep8-2.0.2/work >>>> Preparing source in /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2 ... > * Build system packages: > * dev-python/gpep517 : 13 > * dev-python/installer : 0.7.0 > * dev-python/setuptools : 68.0.0-r1 > * dev-python/setuptools-rust : > * dev-python/setuptools-scm : 7.1.0 > * dev-python/wheel : 0.41.0 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2 ... > * pypy3: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for autopep8-2.0.2 via setuptools.build_meta:__legacy__ >gpep517 build-wheel --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-pypy3/wheel >2023-08-03 23:15:34,378 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ >2023-08-03 23:15:34,468 root INFO running bdist_wheel >2023-08-03 23:15:34,559 root INFO running build >2023-08-03 23:15:34,559 root INFO running build_py >2023-08-03 23:15:34,567 root INFO creating build >2023-08-03 23:15:34,568 root INFO creating build/lib >2023-08-03 23:15:34,568 root INFO copying autopep8.py -> build/lib >2023-08-03 23:15:34,569 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2023-08-03 23:15:34,619 wheel INFO installing to build/bdist.linux-x86_64/wheel >2023-08-03 23:15:34,619 root INFO running install >2023-08-03 23:15:34,637 root INFO running install_lib >2023-08-03 23:15:34,646 root INFO creating build/bdist.linux-x86_64 >2023-08-03 23:15:34,646 root INFO creating build/bdist.linux-x86_64/wheel >2023-08-03 23:15:34,646 root INFO copying build/lib/autopep8.py -> build/bdist.linux-x86_64/wheel >2023-08-03 23:15:34,647 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2023-08-03 23:15:34,647 root INFO running install_egg_info >2023-08-03 23:15:34,670 root INFO running egg_info >2023-08-03 23:15:34,686 root INFO writing autopep8.egg-info/PKG-INFO >2023-08-03 23:15:34,686 root INFO writing dependency_links to autopep8.egg-info/dependency_links.txt >2023-08-03 23:15:34,687 root INFO writing entry points to autopep8.egg-info/entry_points.txt >2023-08-03 23:15:34,687 root INFO writing requirements to autopep8.egg-info/requires.txt >2023-08-03 23:15:34,687 root INFO writing top-level names to autopep8.egg-info/top_level.txt >2023-08-03 23:15:34,717 setuptools_scm.file_finder_git ERROR listing git files failed - pretending there aren't any >2023-08-03 23:15:34,722 root INFO reading manifest file 'autopep8.egg-info/SOURCES.txt' >2023-08-03 23:15:34,723 root INFO reading manifest template 'MANIFEST.in' >2023-08-03 23:15:34,724 root WARNING warning: no files found matching 'test/example' >2023-08-03 23:15:34,724 root WARNING warning: no files found matching 'test/example/x.py' >2023-08-03 23:15:34,725 root WARNING warning: no previously-included files matching '*.py' found under directory 'test/suite' >2023-08-03 23:15:34,726 root WARNING warning: no previously-included files matching '*.py' found under directory 'test/suite/out' >2023-08-03 23:15:34,726 root WARNING warning: no previously-included files found matching '.travis.yml' >2023-08-03 23:15:34,726 root WARNING warning: no previously-included files found matching 'CONTRIBUTING.rst' >2023-08-03 23:15:34,727 root WARNING warning: no previously-included files found matching 'Makefile' >2023-08-03 23:15:34,727 root WARNING warning: no previously-included files found matching 'coveralls.bash' >2023-08-03 23:15:34,727 root WARNING warning: no previously-included files found matching 'hooks' >2023-08-03 23:15:34,728 root WARNING warning: no previously-included files found matching 'hooks/pre-push' >2023-08-03 23:15:34,728 root WARNING warning: no previously-included files found matching 'install_hooks.bash' >2023-08-03 23:15:34,728 root WARNING warning: no previously-included files found matching 'test/.gitignore' >2023-08-03 23:15:34,728 root WARNING warning: no previously-included files found matching 'test/acid.py' >2023-08-03 23:15:34,729 root WARNING warning: no previously-included files found matching 'test/acid_pypi.py' >2023-08-03 23:15:34,729 root WARNING warning: no previously-included files found matching 'test/suite' >2023-08-03 23:15:34,729 root WARNING warning: no previously-included files found matching 'test/suite/out' >2023-08-03 23:15:34,729 root WARNING warning: no previously-included files found matching 'test/vim_autopep8.py' >2023-08-03 23:15:34,730 root WARNING warning: no previously-included files found matching 'update_readme.py' >2023-08-03 23:15:34,730 root INFO adding license file 'LICENSE' >2023-08-03 23:15:34,730 root INFO adding license file 'AUTHORS.rst' >2023-08-03 23:15:34,731 root INFO writing manifest file 'autopep8.egg-info/SOURCES.txt' >2023-08-03 23:15:34,732 root INFO Copying autopep8.egg-info to build/bdist.linux-x86_64/wheel/autopep8-2.0.2-py3.10.egg-info >2023-08-03 23:15:34,734 root INFO running install_scripts >2023-08-03 23:15:34,740 wheel INFO creating build/bdist.linux-x86_64/wheel/autopep8-2.0.2.dist-info/WHEEL >2023-08-03 23:15:34,740 wheel INFO creating '/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-pypy3/wheel/.tmp-ziumu7mf/autopep8-2.0.2-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it >2023-08-03 23:15:34,741 wheel INFO adding 'autopep8.py' >2023-08-03 23:15:34,743 wheel INFO adding 'autopep8-2.0.2.dist-info/AUTHORS.rst' >2023-08-03 23:15:34,743 wheel INFO adding 'autopep8-2.0.2.dist-info/LICENSE' >2023-08-03 23:15:34,743 wheel INFO adding 'autopep8-2.0.2.dist-info/METADATA' >2023-08-03 23:15:34,744 wheel INFO adding 'autopep8-2.0.2.dist-info/WHEEL' >2023-08-03 23:15:34,744 wheel INFO adding 'autopep8-2.0.2.dist-info/entry_points.txt' >2023-08-03 23:15:34,744 wheel INFO adding 'autopep8-2.0.2.dist-info/top_level.txt' >2023-08-03 23:15:34,744 wheel INFO adding 'autopep8-2.0.2.dist-info/RECORD' >2023-08-03 23:15:34,745 wheel INFO removing build/bdist.linux-x86_64/wheel >2023-08-03 23:15:34,745 gpep517 INFO The backend produced /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-pypy3/wheel/autopep8-2.0.2-py2.py3-none-any.whl > * Installing autopep8-2.0.2-py2.py3-none-any.whl to /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-pypy3/install >gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-pypy3/install --interpreter=/usr/bin/pypy3 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-pypy3/wheel/autopep8-2.0.2-py2.py3-none-any.whl >2023-08-03 23:15:34,921 gpep517 INFO Installing /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-pypy3/wheel/autopep8-2.0.2-py2.py3-none-any.whl into /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-pypy3/install >2023-08-03 23:15:35,044 gpep517 INFO Installation complete > * python3_10: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for autopep8-2.0.2 via setuptools.build_meta:__legacy__ >gpep517 build-wheel --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-python3_10/wheel >2023-08-03 23:15:35,379 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ >2023-08-03 23:15:35,410 root INFO running bdist_wheel >2023-08-03 23:15:35,474 root INFO running build >2023-08-03 23:15:35,474 root INFO running build_py >2023-08-03 23:15:35,478 root INFO creating build >2023-08-03 23:15:35,478 root INFO creating build/lib >2023-08-03 23:15:35,478 root INFO copying autopep8.py -> build/lib >2023-08-03 23:15:35,479 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2023-08-03 23:15:35,487 wheel INFO installing to build/bdist.linux-x86_64/wheel >2023-08-03 23:15:35,487 root INFO running install >2023-08-03 23:15:35,496 root INFO running install_lib >2023-08-03 23:15:35,501 root INFO creating build/bdist.linux-x86_64 >2023-08-03 23:15:35,501 root INFO creating build/bdist.linux-x86_64/wheel >2023-08-03 23:15:35,501 root INFO copying build/lib/autopep8.py -> build/bdist.linux-x86_64/wheel >2023-08-03 23:15:35,501 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2023-08-03 23:15:35,501 root INFO running install_egg_info >2023-08-03 23:15:35,512 root INFO running egg_info >2023-08-03 23:15:35,515 root INFO writing autopep8.egg-info/PKG-INFO >2023-08-03 23:15:35,516 root INFO writing dependency_links to autopep8.egg-info/dependency_links.txt >2023-08-03 23:15:35,516 root INFO writing entry points to autopep8.egg-info/entry_points.txt >2023-08-03 23:15:35,516 root INFO writing requirements to autopep8.egg-info/requires.txt >2023-08-03 23:15:35,516 root INFO writing top-level names to autopep8.egg-info/top_level.txt >2023-08-03 23:15:35,532 setuptools_scm.file_finder_git ERROR listing git files failed - pretending there aren't any >2023-08-03 23:15:35,535 root INFO reading manifest file 'autopep8.egg-info/SOURCES.txt' >2023-08-03 23:15:35,535 root INFO reading manifest template 'MANIFEST.in' >2023-08-03 23:15:35,535 root WARNING warning: no files found matching 'test/example' >2023-08-03 23:15:35,536 root WARNING warning: no files found matching 'test/example/x.py' >2023-08-03 23:15:35,536 root WARNING warning: no previously-included files matching '*.py' found under directory 'test/suite' >2023-08-03 23:15:35,536 root WARNING warning: no previously-included files matching '*.py' found under directory 'test/suite/out' >2023-08-03 23:15:35,536 root WARNING warning: no previously-included files found matching '.travis.yml' >2023-08-03 23:15:35,537 root WARNING warning: no previously-included files found matching 'CONTRIBUTING.rst' >2023-08-03 23:15:35,537 root WARNING warning: no previously-included files found matching 'Makefile' >2023-08-03 23:15:35,537 root WARNING warning: no previously-included files found matching 'coveralls.bash' >2023-08-03 23:15:35,537 root WARNING warning: no previously-included files found matching 'hooks' >2023-08-03 23:15:35,537 root WARNING warning: no previously-included files found matching 'hooks/pre-push' >2023-08-03 23:15:35,537 root WARNING warning: no previously-included files found matching 'install_hooks.bash' >2023-08-03 23:15:35,537 root WARNING warning: no previously-included files found matching 'test/.gitignore' >2023-08-03 23:15:35,538 root WARNING warning: no previously-included files found matching 'test/acid.py' >2023-08-03 23:15:35,538 root WARNING warning: no previously-included files found matching 'test/acid_pypi.py' >2023-08-03 23:15:35,538 root WARNING warning: no previously-included files found matching 'test/suite' >2023-08-03 23:15:35,538 root WARNING warning: no previously-included files found matching 'test/suite/out' >2023-08-03 23:15:35,538 root WARNING warning: no previously-included files found matching 'test/vim_autopep8.py' >2023-08-03 23:15:35,538 root WARNING warning: no previously-included files found matching 'update_readme.py' >2023-08-03 23:15:35,538 root INFO adding license file 'LICENSE' >2023-08-03 23:15:35,538 root INFO adding license file 'AUTHORS.rst' >2023-08-03 23:15:35,539 root INFO writing manifest file 'autopep8.egg-info/SOURCES.txt' >2023-08-03 23:15:35,539 root INFO Copying autopep8.egg-info to build/bdist.linux-x86_64/wheel/autopep8-2.0.2-py3.10.egg-info >2023-08-03 23:15:35,541 root INFO running install_scripts >2023-08-03 23:15:35,544 wheel INFO creating build/bdist.linux-x86_64/wheel/autopep8-2.0.2.dist-info/WHEEL >2023-08-03 23:15:35,544 wheel INFO creating '/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-python3_10/wheel/.tmp-42kedrj7/autopep8-2.0.2-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it >2023-08-03 23:15:35,545 wheel INFO adding 'autopep8.py' >2023-08-03 23:15:35,545 wheel INFO adding 'autopep8-2.0.2.dist-info/AUTHORS.rst' >2023-08-03 23:15:35,545 wheel INFO adding 'autopep8-2.0.2.dist-info/LICENSE' >2023-08-03 23:15:35,546 wheel INFO adding 'autopep8-2.0.2.dist-info/METADATA' >2023-08-03 23:15:35,546 wheel INFO adding 'autopep8-2.0.2.dist-info/WHEEL' >2023-08-03 23:15:35,546 wheel INFO adding 'autopep8-2.0.2.dist-info/entry_points.txt' >2023-08-03 23:15:35,546 wheel INFO adding 'autopep8-2.0.2.dist-info/top_level.txt' >2023-08-03 23:15:35,546 wheel INFO adding 'autopep8-2.0.2.dist-info/RECORD' >2023-08-03 23:15:35,546 wheel INFO removing build/bdist.linux-x86_64/wheel >2023-08-03 23:15:35,547 gpep517 INFO The backend produced /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-python3_10/wheel/autopep8-2.0.2-py2.py3-none-any.whl > * Installing autopep8-2.0.2-py2.py3-none-any.whl to /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-python3_10/install >gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-python3_10/install --interpreter=/usr/bin/python3.10 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-python3_10/wheel/autopep8-2.0.2-py2.py3-none-any.whl >2023-08-03 23:15:35,646 gpep517 INFO Installing /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-python3_10/wheel/autopep8-2.0.2-py2.py3-none-any.whl into /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-python3_10/install >2023-08-03 23:15:35,722 gpep517 INFO Installation complete > * python3_11: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for autopep8-2.0.2 via setuptools.build_meta:__legacy__ >gpep517 build-wheel --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-python3_11/wheel >2023-08-03 23:15:35,980 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ >2023-08-03 23:15:36,010 root INFO running bdist_wheel >2023-08-03 23:15:36,069 root INFO running build >2023-08-03 23:15:36,069 root INFO running build_py >2023-08-03 23:15:36,073 root INFO creating build >2023-08-03 23:15:36,074 root INFO creating build/lib >2023-08-03 23:15:36,074 root INFO copying autopep8.py -> build/lib >2023-08-03 23:15:36,074 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2023-08-03 23:15:36,083 wheel INFO installing to build/bdist.linux-x86_64/wheel >2023-08-03 23:15:36,083 root INFO running install >2023-08-03 23:15:36,092 root INFO running install_lib >2023-08-03 23:15:36,096 root INFO creating build/bdist.linux-x86_64 >2023-08-03 23:15:36,096 root INFO creating build/bdist.linux-x86_64/wheel >2023-08-03 23:15:36,096 root INFO copying build/lib/autopep8.py -> build/bdist.linux-x86_64/wheel >2023-08-03 23:15:36,096 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2023-08-03 23:15:36,096 root INFO running install_egg_info >2023-08-03 23:15:36,107 root INFO running egg_info >2023-08-03 23:15:36,111 root INFO writing autopep8.egg-info/PKG-INFO >2023-08-03 23:15:36,111 root INFO writing dependency_links to autopep8.egg-info/dependency_links.txt >2023-08-03 23:15:36,111 root INFO writing entry points to autopep8.egg-info/entry_points.txt >2023-08-03 23:15:36,111 root INFO writing requirements to autopep8.egg-info/requires.txt >2023-08-03 23:15:36,111 root INFO writing top-level names to autopep8.egg-info/top_level.txt >2023-08-03 23:15:36,126 setuptools_scm.file_finder_git ERROR listing git files failed - pretending there aren't any >2023-08-03 23:15:36,129 root INFO reading manifest file 'autopep8.egg-info/SOURCES.txt' >2023-08-03 23:15:36,129 root INFO reading manifest template 'MANIFEST.in' >2023-08-03 23:15:36,130 root WARNING warning: no files found matching 'test/example' >2023-08-03 23:15:36,130 root WARNING warning: no files found matching 'test/example/x.py' >2023-08-03 23:15:36,130 root WARNING warning: no previously-included files matching '*.py' found under directory 'test/suite' >2023-08-03 23:15:36,130 root WARNING warning: no previously-included files matching '*.py' found under directory 'test/suite/out' >2023-08-03 23:15:36,130 root WARNING warning: no previously-included files found matching '.travis.yml' >2023-08-03 23:15:36,131 root WARNING warning: no previously-included files found matching 'CONTRIBUTING.rst' >2023-08-03 23:15:36,131 root WARNING warning: no previously-included files found matching 'Makefile' >2023-08-03 23:15:36,131 root WARNING warning: no previously-included files found matching 'coveralls.bash' >2023-08-03 23:15:36,131 root WARNING warning: no previously-included files found matching 'hooks' >2023-08-03 23:15:36,131 root WARNING warning: no previously-included files found matching 'hooks/pre-push' >2023-08-03 23:15:36,131 root WARNING warning: no previously-included files found matching 'install_hooks.bash' >2023-08-03 23:15:36,131 root WARNING warning: no previously-included files found matching 'test/.gitignore' >2023-08-03 23:15:36,131 root WARNING warning: no previously-included files found matching 'test/acid.py' >2023-08-03 23:15:36,131 root WARNING warning: no previously-included files found matching 'test/acid_pypi.py' >2023-08-03 23:15:36,132 root WARNING warning: no previously-included files found matching 'test/suite' >2023-08-03 23:15:36,132 root WARNING warning: no previously-included files found matching 'test/suite/out' >2023-08-03 23:15:36,132 root WARNING warning: no previously-included files found matching 'test/vim_autopep8.py' >2023-08-03 23:15:36,132 root WARNING warning: no previously-included files found matching 'update_readme.py' >2023-08-03 23:15:36,132 root INFO adding license file 'LICENSE' >2023-08-03 23:15:36,132 root INFO adding license file 'AUTHORS.rst' >2023-08-03 23:15:36,133 root INFO writing manifest file 'autopep8.egg-info/SOURCES.txt' >2023-08-03 23:15:36,133 root INFO Copying autopep8.egg-info to build/bdist.linux-x86_64/wheel/autopep8-2.0.2-py3.11.egg-info >2023-08-03 23:15:36,134 root INFO running install_scripts >2023-08-03 23:15:36,137 wheel INFO creating build/bdist.linux-x86_64/wheel/autopep8-2.0.2.dist-info/WHEEL >2023-08-03 23:15:36,137 wheel INFO creating '/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-python3_11/wheel/.tmp-3or4qmdp/autopep8-2.0.2-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it >2023-08-03 23:15:36,138 wheel INFO adding 'autopep8.py' >2023-08-03 23:15:36,138 wheel INFO adding 'autopep8-2.0.2.dist-info/AUTHORS.rst' >2023-08-03 23:15:36,138 wheel INFO adding 'autopep8-2.0.2.dist-info/LICENSE' >2023-08-03 23:15:36,139 wheel INFO adding 'autopep8-2.0.2.dist-info/METADATA' >2023-08-03 23:15:36,139 wheel INFO adding 'autopep8-2.0.2.dist-info/WHEEL' >2023-08-03 23:15:36,139 wheel INFO adding 'autopep8-2.0.2.dist-info/entry_points.txt' >2023-08-03 23:15:36,139 wheel INFO adding 'autopep8-2.0.2.dist-info/top_level.txt' >2023-08-03 23:15:36,139 wheel INFO adding 'autopep8-2.0.2.dist-info/RECORD' >2023-08-03 23:15:36,139 wheel INFO removing build/bdist.linux-x86_64/wheel >2023-08-03 23:15:36,140 gpep517 INFO The backend produced /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-python3_11/wheel/autopep8-2.0.2-py2.py3-none-any.whl > * Installing autopep8-2.0.2-py2.py3-none-any.whl to /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-python3_11/install >gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-python3_11/install --interpreter=/usr/bin/python3.11 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-python3_11/wheel/autopep8-2.0.2-py2.py3-none-any.whl >2023-08-03 23:15:36,245 gpep517 INFO Installing /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-python3_11/wheel/autopep8-2.0.2-py2.py3-none-any.whl into /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-python3_11/install >2023-08-03 23:15:36,328 gpep517 INFO Installation complete >>>> Source compiled. >>>> Test phase: dev-python/autopep8-2.0.2 > * pypy3: running distutils-r1_run_phase python_test >pypy3 -m pytest -vv -ra -l -Wdefault --color=no -o console_output_style=count -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:tavern >============================= test session starts ============================== >platform linux -- Python 3.10.12[pypy-7.3.12-final], pytest-7.4.0, pluggy-1.2.0 -- /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2-pypy3/install/usr/bin/pypy3 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2 >collecting ... collected 556 items > >test/test_autopep8.py::UnitTests::test_almost_equal PASSED [ 1/556] >test/test_autopep8.py::UnitTests::test_code_match PASSED [ 2/556] >test/test_autopep8.py::UnitTests::test_commented_out_code_lines PASSED [ 3/556] >test/test_autopep8.py::UnitTests::test_compile_value_error PASSED [ 4/556] >test/test_autopep8.py::UnitTests::test_count_unbalanced_brackets PASSED [ 5/556] >test/test_autopep8.py::UnitTests::test_decode_filename PASSED [ 6/556] >test/test_autopep8.py::UnitTests::test_detect_encoding PASSED [ 7/556] >test/test_autopep8.py::UnitTests::test_detect_encoding_with_cookie PASSED [ 8/556] >test/test_autopep8.py::UnitTests::test_extract_code_from_function PASSED [ 9/556] >test/test_autopep8.py::UnitTests::test_find_files PASSED [ 10/556] >test/test_autopep8.py::UnitTests::test_find_newline_cr1_and_crlf2 PASSED [ 11/556] >test/test_autopep8.py::UnitTests::test_find_newline_cr1_and_lf2 PASSED [ 12/556] >test/test_autopep8.py::UnitTests::test_find_newline_only_cr PASSED [ 13/556] >test/test_autopep8.py::UnitTests::test_find_newline_only_crlf PASSED [ 14/556] >test/test_autopep8.py::UnitTests::test_find_newline_only_lf PASSED [ 15/556] >test/test_autopep8.py::UnitTests::test_find_newline_should_default_to_lf PASSED [ 16/556] >test/test_autopep8.py::UnitTests::test_fix_2to3 PASSED [ 17/556] >test/test_autopep8.py::UnitTests::test_fix_2to3_subset PASSED [ 18/556] >test/test_autopep8.py::UnitTests::test_fix_code PASSED [ 19/556] >test/test_autopep8.py::UnitTests::test_fix_code_byte_string PASSED [ 20/556] >test/test_autopep8.py::UnitTests::test_fix_code_with_bad_options PASSED [ 21/556] >test/test_autopep8.py::UnitTests::test_fix_code_with_empty_string PASSED [ 22/556] >test/test_autopep8.py::UnitTests::test_fix_code_with_multiple_lines FAILED [ 23/556] >test/test_autopep8.py::UnitTests::test_fix_code_with_options PASSED [ 24/556] >test/test_autopep8.py::UnitTests::test_fix_e225_avoid_failure PASSED [ 25/556] >test/test_autopep8.py::UnitTests::test_fix_e271_ignore_redundant PASSED [ 26/556] >test/test_autopep8.py::UnitTests::test_fix_e401_avoid_non_import PASSED [ 27/556] >test/test_autopep8.py::UnitTests::test_fix_e711_avoid_failure PASSED [ 28/556] >test/test_autopep8.py::UnitTests::test_fix_e712_avoid_failure PASSED [ 29/556] >test/test_autopep8.py::UnitTests::test_fix_file FAILED [ 30/556] >test/test_autopep8.py::UnitTests::test_fix_file_with_diff FAILED [ 31/556] >test/test_autopep8.py::UnitTests::test_fix_lines PASSED [ 32/556] >test/test_autopep8.py::UnitTests::test_fix_whitespace PASSED [ 33/556] >test/test_autopep8.py::UnitTests::test_fix_whitespace_with_tabs PASSED [ 34/556] >test/test_autopep8.py::UnitTests::test_format_block_comments PASSED [ 35/556] >test/test_autopep8.py::UnitTests::test_format_block_comments_should_leave_outline_alone PASSED [ 36/556] >test/test_autopep8.py::UnitTests::test_format_block_comments_should_not_corrupt_special_comments PASSED [ 37/556] >test/test_autopep8.py::UnitTests::test_format_block_comments_should_only_touch_real_comments PASSED [ 38/556] >test/test_autopep8.py::UnitTests::test_format_block_comments_with_multiple_lines PASSED [ 39/556] >test/test_autopep8.py::UnitTests::test_get_diff_text PASSED [ 40/556] >test/test_autopep8.py::UnitTests::test_get_diff_text_without_newline PASSED [ 41/556] >test/test_autopep8.py::UnitTests::test_get_fixed_long_line_empty PASSED [ 42/556] >test/test_autopep8.py::UnitTests::test_is_python_file PASSED [ 43/556] >test/test_autopep8.py::UnitTests::test_line_shortening_rank PASSED [ 44/556] >test/test_autopep8.py::UnitTests::test_match_file PASSED [ 45/556] >test/test_autopep8.py::UnitTests::test_match_file_with_dummy_file PASSED [ 46/556] >test/test_autopep8.py::UnitTests::test_multiline_string_lines PASSED [ 47/556] >test/test_autopep8.py::UnitTests::test_multiline_string_lines_with_many PASSED [ 48/556] >test/test_autopep8.py::UnitTests::test_multiline_string_should_not_report_docstrings PASSED [ 49/556] >test/test_autopep8.py::UnitTests::test_multiline_string_should_not_report_single_line PASSED [ 50/556] >test/test_autopep8.py::UnitTests::test_normalize_line_endings PASSED [ 51/556] >test/test_autopep8.py::UnitTests::test_normalize_line_endings_with_crlf PASSED [ 52/556] >test/test_autopep8.py::UnitTests::test_normalize_multiline PASSED [ 53/556] >test/test_autopep8.py::UnitTests::test_priority_key_with_non_existent_key PASSED [ 54/556] >test/test_autopep8.py::UnitTests::test_readlines_from_file_with_bad_encoding PASSED [ 55/556] >test/test_autopep8.py::UnitTests::test_readlines_from_file_with_bad_encoding2 PASSED [ 56/556] >test/test_autopep8.py::UnitTests::test_reindenter PASSED [ 57/556] >test/test_autopep8.py::UnitTests::test_reindenter_not_affect_with_formfeed PASSED [ 58/556] >test/test_autopep8.py::UnitTests::test_reindenter_should_leave_stray_comment_alone PASSED [ 59/556] >test/test_autopep8.py::UnitTests::test_reindenter_with_good_input PASSED [ 60/556] >test/test_autopep8.py::UnitTests::test_reindenter_with_non_standard_indent_size PASSED [ 61/556] >test/test_autopep8.py::UnitTests::test_shorten_comment PASSED [ 62/556] >test/test_autopep8.py::UnitTests::test_shorten_comment_should_not_modify_special_comments PASSED [ 63/556] >test/test_autopep8.py::UnitTests::test_shorten_comment_should_not_split_numbers PASSED [ 64/556] >test/test_autopep8.py::UnitTests::test_shorten_comment_should_not_split_urls PASSED [ 65/556] >test/test_autopep8.py::UnitTests::test_shorten_comment_should_not_split_words PASSED [ 66/556] >test/test_autopep8.py::UnitTests::test_shorten_line_candidates_are_valid PASSED [ 67/556] >test/test_autopep8.py::UnitTests::test_split_at_offsets PASSED [ 68/556] >test/test_autopep8.py::UnitTests::test_split_at_offsets_with_out_of_order PASSED [ 69/556] >test/test_autopep8.py::UnitTests::test_standard_deviation PASSED [ 70/556] >test/test_autopep8.py::UnitTests::test_supported_fixes PASSED [ 71/556] >test/test_autopep8.py::UnitTests::test_token_offsets PASSED [ 72/556] >test/test_autopep8.py::UnitTests::test_token_offsets_with_escaped_newline PASSED [ 73/556] >test/test_autopep8.py::UnitTests::test_token_offsets_with_multiline PASSED [ 74/556] >test/test_autopep8.py::SystemTests::test_autopep8_disable PASSED [ 75/556] >test/test_autopep8.py::SystemTests::test_autopep8_disable_multi FAILED [ 76/556] >test/test_autopep8.py::SystemTests::test_e101 PASSED [ 77/556] >test/test_autopep8.py::SystemTests::test_e101_should_fix_docstrings PASSED [ 78/556] >test/test_autopep8.py::SystemTests::test_e101_should_ignore_multiline_strings PASSED [ 79/556] >test/test_autopep8.py::SystemTests::test_e101_should_ignore_multiline_strings_complex PASSED [ 80/556] >test/test_autopep8.py::SystemTests::test_e101_should_not_expand_non_indentation_tabs PASSED [ 81/556] >test/test_autopep8.py::SystemTests::test_e101_skip_if_bad_indentation PASSED [ 82/556] >test/test_autopep8.py::SystemTests::test_e101_skip_innocuous PASSED [ 83/556] >test/test_autopep8.py::SystemTests::test_e101_when_pep8_mistakes_first_tab_in_string PASSED [ 84/556] >test/test_autopep8.py::SystemTests::test_e101_with_comments PASSED [ 85/556] >test/test_autopep8.py::SystemTests::test_e101_with_indent_size_1 PASSED [ 86/556] >test/test_autopep8.py::SystemTests::test_e101_with_indent_size_2 PASSED [ 87/556] >test/test_autopep8.py::SystemTests::test_e101_with_indent_size_3 PASSED [ 88/556] >test/test_autopep8.py::SystemTests::test_e111_long PASSED [ 89/556] >test/test_autopep8.py::SystemTests::test_e111_longer PASSED [ 90/556] >test/test_autopep8.py::SystemTests::test_e111_multiple_levels PASSED [ 91/556] >test/test_autopep8.py::SystemTests::test_e111_short PASSED [ 92/556] >test/test_autopep8.py::SystemTests::test_e111_should_not_modify_string_contents PASSED [ 93/556] >test/test_autopep8.py::SystemTests::test_e111_with_dedent PASSED [ 94/556] >test/test_autopep8.py::SystemTests::test_e111_with_other_errors PASSED [ 95/556] >test/test_autopep8.py::SystemTests::test_e112_should_leave_bad_syntax_alone PASSED [ 96/556] >test/test_autopep8.py::SystemTests::test_e113 PASSED [ 97/556] >test/test_autopep8.py::SystemTests::test_e113_bad_syntax PASSED [ 98/556] >test/test_autopep8.py::SystemTests::test_e114 PASSED [ 99/556] >test/test_autopep8.py::SystemTests::test_e115 PASSED [100/556] >test/test_autopep8.py::SystemTests::test_e116 PASSED [101/556] >test/test_autopep8.py::SystemTests::test_e117 PASSED [102/556] >test/test_autopep8.py::SystemTests::test_e121_with_multiline_string PASSED [103/556] >test/test_autopep8.py::SystemTests::test_e122_with_fallback PASSED [104/556] >test/test_autopep8.py::SystemTests::test_e123 PASSED [105/556] >test/test_autopep8.py::SystemTests::test_e123_with_escaped_newline PASSED [106/556] >test/test_autopep8.py::SystemTests::test_e125_with_multiline_string PASSED [107/556] >test/test_autopep8.py::SystemTests::test_e125_with_multiline_string_okay PASSED [108/556] >test/test_autopep8.py::SystemTests::test_e126 PASSED [109/556] >test/test_autopep8.py::SystemTests::test_e126_should_not_interfere_with_other_fixes PASSED [110/556] >test/test_autopep8.py::SystemTests::test_e127 PASSED [111/556] >test/test_autopep8.py::SystemTests::test_e127_align_visual_indent PASSED [112/556] >test/test_autopep8.py::SystemTests::test_e127_align_visual_indent_okay PASSED [113/556] >test/test_autopep8.py::SystemTests::test_e127_with_backslash PASSED [114/556] >test/test_autopep8.py::SystemTests::test_e127_with_bracket_then_parenthesis PASSED [115/556] >test/test_autopep8.py::SystemTests::test_e128_with_aaa_option PASSED [116/556] >test/test_autopep8.py::SystemTests::test_e129 PASSED [117/556] >test/test_autopep8.py::SystemTests::test_e12_large PASSED [118/556] >test/test_autopep8.py::SystemTests::test_e12_reindent PASSED [119/556] >test/test_autopep8.py::SystemTests::test_e12_reindent_with_multiple_fixes PASSED [120/556] >test/test_autopep8.py::SystemTests::test_e12_tricky PASSED [121/556] >test/test_autopep8.py::SystemTests::test_e12_with_backslash PASSED [122/556] >test/test_autopep8.py::SystemTests::test_e12_with_bad_indentation PASSED [123/556] >test/test_autopep8.py::SystemTests::test_e131_invalid_indent_with_select_option PASSED [124/556] >test/test_autopep8.py::SystemTests::test_e131_with_select_option PASSED [125/556] >test/test_autopep8.py::SystemTests::test_e133 PASSED [126/556] >test/test_autopep8.py::SystemTests::test_e133_no_indentation_line PASSED [127/556] >test/test_autopep8.py::SystemTests::test_e133_not_effected PASSED [128/556] >test/test_autopep8.py::SystemTests::test_e201 PASSED [129/556] >test/test_autopep8.py::SystemTests::test_e202 PASSED [130/556] >test/test_autopep8.py::SystemTests::test_e202_multiline PASSED [131/556] >test/test_autopep8.py::SystemTests::test_e202_skip_multiline_with_escaped_newline PASSED [132/556] >test/test_autopep8.py::SystemTests::test_e203_colon PASSED [133/556] >test/test_autopep8.py::SystemTests::test_e203_comma PASSED [134/556] >test/test_autopep8.py::SystemTests::test_e203_semicolon PASSED [135/556] >test/test_autopep8.py::SystemTests::test_e203_with_newline PASSED [136/556] >test/test_autopep8.py::SystemTests::test_e211 PASSED [137/556] >test/test_autopep8.py::SystemTests::test_e221 PASSED [138/556] >test/test_autopep8.py::SystemTests::test_e221_do_not_skip_multiline PASSED [139/556] >test/test_autopep8.py::SystemTests::test_e222 PASSED [140/556] >test/test_autopep8.py::SystemTests::test_e222_with_multiline PASSED [141/556] >test/test_autopep8.py::SystemTests::test_e223 PASSED [142/556] >test/test_autopep8.py::SystemTests::test_e223_double PASSED [143/556] >test/test_autopep8.py::SystemTests::test_e223_with_tab_indentation FAILED [144/556] >test/test_autopep8.py::SystemTests::test_e224 PASSED [145/556] >test/test_autopep8.py::SystemTests::test_e224_double PASSED [146/556] >test/test_autopep8.py::SystemTests::test_e224_with_tab_indentation FAILED [147/556] >test/test_autopep8.py::SystemTests::test_e225 FAILED [148/556] >test/test_autopep8.py::SystemTests::test_e225_with_indentation_fix PASSED [149/556] >test/test_autopep8.py::SystemTests::test_e226 FAILED [150/556] >test/test_autopep8.py::SystemTests::test_e227 FAILED [151/556] >test/test_autopep8.py::SystemTests::test_e228 FAILED [152/556] >test/test_autopep8.py::SystemTests::test_e231 PASSED [153/556] >test/test_autopep8.py::SystemTests::test_e231_should_only_do_ws_comma_once PASSED [154/556] >test/test_autopep8.py::SystemTests::test_e231_with_colon_after_comma PASSED [155/556] >test/test_autopep8.py::SystemTests::test_e231_with_many_commas PASSED [156/556] >test/test_autopep8.py::SystemTests::test_e241 PASSED [157/556] >test/test_autopep8.py::SystemTests::test_e241_double PASSED [158/556] >test/test_autopep8.py::SystemTests::test_e241_should_be_enabled_by_aggressive PASSED [159/556] >test/test_autopep8.py::SystemTests::test_e242 PASSED [160/556] >test/test_autopep8.py::SystemTests::test_e242_double PASSED [161/556] >test/test_autopep8.py::SystemTests::test_e251 PASSED [162/556] >test/test_autopep8.py::SystemTests::test_e251_with_argument_on_next_line PASSED [163/556] >test/test_autopep8.py::SystemTests::test_e251_with_calling PASSED [164/556] >test/test_autopep8.py::SystemTests::test_e251_with_escaped_newline PASSED [165/556] >test/test_autopep8.py::SystemTests::test_e252 PASSED [166/556] >test/test_autopep8.py::SystemTests::test_e252_with_argument_on_next_line PASSED [167/556] >test/test_autopep8.py::SystemTests::test_e252_with_escaped_newline PASSED [168/556] >test/test_autopep8.py::SystemTests::test_e261 PASSED [169/556] >test/test_autopep8.py::SystemTests::test_e261_with_comma PASSED [170/556] >test/test_autopep8.py::SystemTests::test_e261_with_dictionary PASSED [171/556] >test/test_autopep8.py::SystemTests::test_e261_with_dictionary_no_space PASSED [172/556] >test/test_autopep8.py::SystemTests::test_e261_with_inline_commented_out_code PASSED [173/556] >test/test_autopep8.py::SystemTests::test_e262_hash_in_string PASSED [174/556] >test/test_autopep8.py::SystemTests::test_e262_hash_in_string_and_multiple_hashes PASSED [175/556] >test/test_autopep8.py::SystemTests::test_e262_more_complex PASSED [176/556] >test/test_autopep8.py::SystemTests::test_e262_more_space PASSED [177/556] >test/test_autopep8.py::SystemTests::test_e262_none_space PASSED [178/556] >test/test_autopep8.py::SystemTests::test_e265 PASSED [179/556] >test/test_autopep8.py::SystemTests::test_e265_ignores_special_comments PASSED [180/556] >test/test_autopep8.py::SystemTests::test_e265_ignores_special_comments_in_middle_of_file PASSED [181/556] >test/test_autopep8.py::SystemTests::test_e265_issue662 PASSED [182/556] >test/test_autopep8.py::SystemTests::test_e265_only PASSED [183/556] >test/test_autopep8.py::SystemTests::test_e266 PASSED [184/556] >test/test_autopep8.py::SystemTests::test_e266_issue662 PASSED [185/556] >test/test_autopep8.py::SystemTests::test_e266_only PASSED [186/556] >test/test_autopep8.py::SystemTests::test_e271 PASSED [187/556] >test/test_autopep8.py::SystemTests::test_e271_with_multiline PASSED [188/556] >test/test_autopep8.py::SystemTests::test_e272 PASSED [189/556] >test/test_autopep8.py::SystemTests::test_e273 PASSED [190/556] >test/test_autopep8.py::SystemTests::test_e274 PASSED [191/556] >test/test_autopep8.py::SystemTests::test_e301 PASSED [192/556] >test/test_autopep8.py::SystemTests::test_e301_extended_with_docstring PASSED [193/556] >test/test_autopep8.py::SystemTests::test_e302 PASSED [194/556] >test/test_autopep8.py::SystemTests::test_e302_bug PASSED [195/556] >test/test_autopep8.py::SystemTests::test_e303 PASSED [196/556] >test/test_autopep8.py::SystemTests::test_e303_extended PASSED [197/556] >test/test_autopep8.py::SystemTests::test_e303_with_e305 PASSED [198/556] >test/test_autopep8.py::SystemTests::test_e304 PASSED [199/556] >test/test_autopep8.py::SystemTests::test_e304_with_comment PASSED [200/556] >test/test_autopep8.py::SystemTests::test_e305 PASSED [201/556] >test/test_autopep8.py::SystemTests::test_e306 PASSED [202/556] >test/test_autopep8.py::SystemTests::test_e401 PASSED [203/556] >test/test_autopep8.py::SystemTests::test_e401_should_ignore_commented_comma PASSED [204/556] >test/test_autopep8.py::SystemTests::test_e401_should_ignore_commented_comma_with_indentation PASSED [205/556] >test/test_autopep8.py::SystemTests::test_e401_should_ignore_false_positive PASSED [206/556] >test/test_autopep8.py::SystemTests::test_e401_with_escaped_newline_case PASSED [207/556] >test/test_autopep8.py::SystemTests::test_e401_with_indentation PASSED [208/556] >test/test_autopep8.py::SystemTests::test_e401_with_multiline_from_import PASSED [209/556] >test/test_autopep8.py::SystemTests::test_e402 PASSED [210/556] >test/test_autopep8.py::SystemTests::test_e402_duplicate_module PASSED [211/556] >test/test_autopep8.py::SystemTests::test_e402_import_some_modules PASSED [212/556] >test/test_autopep8.py::SystemTests::test_e402_with_dunder PASSED [213/556] >test/test_autopep8.py::SystemTests::test_e402_with_dunder_lines PASSED [214/556] >test/test_autopep8.py::SystemTests::test_e402_with_future_import PASSED [215/556] >test/test_autopep8.py::SystemTests::test_e402_with_module_doc PASSED [216/556] >test/test_autopep8.py::SystemTests::test_e402_with_multiline_from_future_import PASSED [217/556] >test/test_autopep8.py::SystemTests::test_e501_aggressive_decorator PASSED [218/556] >test/test_autopep8.py::SystemTests::test_e501_aggressive_intermingled_comments PASSED [219/556] >test/test_autopep8.py::SystemTests::test_e501_aggressive_long_class_name PASSED [220/556] >test/test_autopep8.py::SystemTests::test_e501_aggressive_long_comment_and_long_line PASSED [221/556] >test/test_autopep8.py::SystemTests::test_e501_aggressive_with_def PASSED [222/556] >test/test_autopep8.py::SystemTests::test_e501_aggressive_with_percent PASSED [223/556] >test/test_autopep8.py::SystemTests::test_e501_aggressive_with_tuple PASSED [224/556] >test/test_autopep8.py::SystemTests::test_e501_aggressive_with_tuple_in_list PASSED [225/556] >test/test_autopep8.py::SystemTests::test_e501_alone_with_indentation PASSED [226/556] >test/test_autopep8.py::SystemTests::test_e501_alone_with_tuple PASSED [227/556] >test/test_autopep8.py::SystemTests::test_e501_arithmetic_operator_with_indent PASSED [228/556] >test/test_autopep8.py::SystemTests::test_e501_avoid_breaking_at_empty_parentheses_if_possible PASSED [229/556] >test/test_autopep8.py::SystemTests::test_e501_avoid_breaking_at_multi_level_slice FAILED [230/556] >test/test_autopep8.py::SystemTests::test_e501_avoid_breaking_at_opening_slice FAILED [231/556] >test/test_autopep8.py::SystemTests::test_e501_basic PASSED [232/556] >test/test_autopep8.py::SystemTests::test_e501_basic_should_prefer_balanced_brackets PASSED [233/556] >test/test_autopep8.py::SystemTests::test_e501_do_not_begin_line_with_comma PASSED [234/556] >test/test_autopep8.py::SystemTests::test_e501_do_not_break_on_keyword PASSED [235/556] >test/test_autopep8.py::SystemTests::test_e501_for_line_over_limit PASSED [236/556] >test/test_autopep8.py::SystemTests::test_e501_if_line_over_limit PASSED [237/556] >test/test_autopep8.py::SystemTests::test_e501_more_aggressive_with_def PASSED [238/556] >test/test_autopep8.py::SystemTests::test_e501_more_complicated PASSED [239/556] >test/test_autopep8.py::SystemTests::test_e501_shorten_at_commas_skip PASSED [240/556] >test/test_autopep8.py::SystemTests::test_e501_shorten_comment_with_aggressive PASSED [241/556] >test/test_autopep8.py::SystemTests::test_e501_shorten_comment_without_aggressive PASSED [242/556] >test/test_autopep8.py::SystemTests::test_e501_shorten_with_backslash PASSED [243/556] >test/test_autopep8.py::SystemTests::test_e501_should_break_before_tuple_start PASSED [244/556] >test/test_autopep8.py::SystemTests::test_e501_should_cut_comment_pattern PASSED [245/556] >test/test_autopep8.py::SystemTests::test_e501_should_ignore_imports PASSED [246/556] >test/test_autopep8.py::SystemTests::test_e501_should_not_break_on_dot PASSED [247/556] >test/test_autopep8.py::SystemTests::test_e501_should_not_do_useless_things PASSED [248/556] >test/test_autopep8.py::SystemTests::test_e501_should_not_interfere_with_non_comment PASSED [249/556] >test/test_autopep8.py::SystemTests::test_e501_should_not_try_to_break_at_every_paren_in_arithmetic PASSED [250/556] >test/test_autopep8.py::SystemTests::test_e501_should_only_modify_last_comment PASSED [251/556] >test/test_autopep8.py::SystemTests::test_e501_skip_even_more_complicated PASSED [252/556] >test/test_autopep8.py::SystemTests::test_e501_while_line_over_limit PASSED [253/556] >test/test_autopep8.py::SystemTests::test_e501_with_aggressive PASSED [254/556] >test/test_autopep8.py::SystemTests::test_e501_with_aggressive_and_carriage_returns_only PASSED [255/556] >test/test_autopep8.py::SystemTests::test_e501_with_aggressive_and_escaped_newline PASSED [256/556] >test/test_autopep8.py::SystemTests::test_e501_with_aggressive_and_import PASSED [257/556] >test/test_autopep8.py::SystemTests::test_e501_with_aggressive_and_indentation PASSED [258/556] >test/test_autopep8.py::SystemTests::test_e501_with_aggressive_and_massive_number_of_logical_lines PASSED [259/556] >test/test_autopep8.py::SystemTests::test_e501_with_aggressive_and_multiline_string PASSED [260/556] >test/test_autopep8.py::SystemTests::test_e501_with_aggressive_and_multiline_string_in_parens PASSED [261/556] >test/test_autopep8.py::SystemTests::test_e501_with_aggressive_and_multiline_string_with_addition PASSED [262/556] >test/test_autopep8.py::SystemTests::test_e501_with_aggressive_and_multiple_logical_lines PASSED [263/556] >test/test_autopep8.py::SystemTests::test_e501_with_aggressive_and_multiple_logical_lines_with_math PASSED [264/556] >test/test_autopep8.py::SystemTests::test_e501_with_commas_and_colons PASSED [265/556] >test/test_autopep8.py::SystemTests::test_e501_with_comment PASSED [266/556] >test/test_autopep8.py::SystemTests::test_e501_with_comment_should_not_modify_docstring PASSED [267/556] >test/test_autopep8.py::SystemTests::test_e501_with_dictionary PASSED [268/556] >test/test_autopep8.py::SystemTests::test_e501_with_function_should_not_break_on_colon PASSED [269/556] >test/test_autopep8.py::SystemTests::test_e501_with_in PASSED [270/556] >test/test_autopep8.py::SystemTests::test_e501_with_indent PASSED [271/556] >test/test_autopep8.py::SystemTests::test_e501_with_inline_comments PASSED [272/556] >test/test_autopep8.py::SystemTests::test_e501_with_inline_comments_should_skip_edge_cases PASSED [273/556] >test/test_autopep8.py::SystemTests::test_e501_with_inline_comments_should_skip_keywords PASSED [274/556] >test/test_autopep8.py::SystemTests::test_e501_with_inline_comments_should_skip_keywords_without_aggressive PASSED [275/556] >test/test_autopep8.py::SystemTests::test_e501_with_inline_comments_should_skip_multiline PASSED [276/556] >test/test_autopep8.py::SystemTests::test_e501_with_lambda PASSED [277/556] >test/test_autopep8.py::SystemTests::test_e501_with_logical_fix PASSED [278/556] >test/test_autopep8.py::SystemTests::test_e501_with_logical_fix_and_adjacent_strings PASSED [279/556] >test/test_autopep8.py::SystemTests::test_e501_with_logical_fix_and_physical_fix PASSED [280/556] >test/test_autopep8.py::SystemTests::test_e501_with_multiple_keys_and_aggressive PASSED [281/556] >test/test_autopep8.py::SystemTests::test_e501_with_multiple_lines PASSED [282/556] >test/test_autopep8.py::SystemTests::test_e501_with_multiple_lines_and_quotes PASSED [283/556] >test/test_autopep8.py::SystemTests::test_e501_with_pep572_assignment_expressions PASSED [284/556] >test/test_autopep8.py::SystemTests::test_e501_with_shorter_length PASSED [285/556] >test/test_autopep8.py::SystemTests::test_e501_with_very_long_line PASSED [286/556] >test/test_autopep8.py::SystemTests::test_e502 PASSED [287/556] >test/test_autopep8.py::SystemTests::test_e701 PASSED [288/556] >test/test_autopep8.py::SystemTests::test_e701_with_escaped_newline PASSED [289/556] >test/test_autopep8.py::SystemTests::test_e701_with_escaped_newline_and_spaces PASSED [290/556] >test/test_autopep8.py::SystemTests::test_e702 PASSED [291/556] >test/test_autopep8.py::SystemTests::test_e702_after_colon_should_be_untouched PASSED [292/556] >test/test_autopep8.py::SystemTests::test_e702_indent_correctly PASSED [293/556] >test/test_autopep8.py::SystemTests::test_e702_more_complicated FAILED [294/556] >test/test_autopep8.py::SystemTests::test_e702_with_dict_semicolon PASSED [295/556] >test/test_autopep8.py::SystemTests::test_e702_with_e701_and_only_select_e702_option PASSED [296/556] >test/test_autopep8.py::SystemTests::test_e702_with_escaped_newline PASSED [297/556] >test/test_autopep8.py::SystemTests::test_e702_with_escaped_newline_with_indentation PASSED [298/556] >test/test_autopep8.py::SystemTests::test_e702_with_non_ascii_file PASSED [299/556] >test/test_autopep8.py::SystemTests::test_e702_with_semicolon_after_string PASSED [300/556] >test/test_autopep8.py::SystemTests::test_e702_with_semicolon_and_space_at_end PASSED [301/556] >test/test_autopep8.py::SystemTests::test_e702_with_semicolon_at_end PASSED [302/556] >test/test_autopep8.py::SystemTests::test_e702_with_semicolon_in_string PASSED [303/556] >test/test_autopep8.py::SystemTests::test_e702_with_semicolon_in_string_to_the_right PASSED [304/556] >test/test_autopep8.py::SystemTests::test_e702_with_triple_quote PASSED [305/556] >test/test_autopep8.py::SystemTests::test_e702_with_triple_quote_and_indent PASSED [306/556] >test/test_autopep8.py::SystemTests::test_e702_with_whitespace PASSED [307/556] >test/test_autopep8.py::SystemTests::test_e703_in_example_of_readme PASSED [308/556] >test/test_autopep8.py::SystemTests::test_e703_with_inline_comment PASSED [309/556] >test/test_autopep8.py::SystemTests::test_e704 PASSED [310/556] >test/test_autopep8.py::SystemTests::test_e704_not_work_with_aa_option PASSED [311/556] >test/test_autopep8.py::SystemTests::test_e711 PASSED [312/556] >test/test_autopep8.py::SystemTests::test_e711_and_e712 PASSED [313/556] >test/test_autopep8.py::SystemTests::test_e711_in_conditional PASSED [314/556] >test/test_autopep8.py::SystemTests::test_e711_in_conditional_with_multiple_instances PASSED [315/556] >test/test_autopep8.py::SystemTests::test_e711_with_not_equals_none PASSED [316/556] >test/test_autopep8.py::SystemTests::test_e712 PASSED [317/556] >test/test_autopep8.py::SystemTests::test_e712_in_conditional_with_multiple_instances PASSED [318/556] >test/test_autopep8.py::SystemTests::test_e712_only_if_aggressive_level_2 PASSED [319/556] >test/test_autopep8.py::SystemTests::test_e712_with_dict_value PASSED [320/556] >test/test_autopep8.py::SystemTests::test_e712_with_false PASSED [321/556] >test/test_autopep8.py::SystemTests::test_e712_with_special_case_equal_false PASSED [322/556] >test/test_autopep8.py::SystemTests::test_e712_with_special_case_equal_not_true PASSED [323/556] >test/test_autopep8.py::SystemTests::test_e713 PASSED [324/556] >test/test_autopep8.py::SystemTests::test_e713_and_e714 PASSED [325/556] >test/test_autopep8.py::SystemTests::test_e713_chain PASSED [326/556] >test/test_autopep8.py::SystemTests::test_e713_chain2 PASSED [327/556] >test/test_autopep8.py::SystemTests::test_e713_chain3 PASSED [328/556] >test/test_autopep8.py::SystemTests::test_e713_chain4 PASSED [329/556] >test/test_autopep8.py::SystemTests::test_e713_more PASSED [330/556] >test/test_autopep8.py::SystemTests::test_e713_with_in PASSED [331/556] >test/test_autopep8.py::SystemTests::test_e713_with_single_quote PASSED [332/556] >test/test_autopep8.py::SystemTests::test_e713_with_tuple PASSED [333/556] >test/test_autopep8.py::SystemTests::test_e714 PASSED [334/556] >test/test_autopep8.py::SystemTests::test_e714_chain PASSED [335/556] >test/test_autopep8.py::SystemTests::test_e714_with_is PASSED [336/556] >test/test_autopep8.py::SystemTests::test_e714_with_single_quote PASSED [337/556] >test/test_autopep8.py::SystemTests::test_e721 PASSED [338/556] >test/test_autopep8.py::SystemTests::test_e721_in_conditional PASSED [339/556] >test/test_autopep8.py::SystemTests::test_e721_with_str PASSED [340/556] >test/test_autopep8.py::SystemTests::test_e722 PASSED [341/556] >test/test_autopep8.py::SystemTests::test_e722_non_aggressive PASSED [342/556] >test/test_autopep8.py::SystemTests::test_e722_with_if_else_stmt PASSED [343/556] >test/test_autopep8.py::SystemTests::test_e731 PASSED [344/556] >test/test_autopep8.py::SystemTests::test_e731_no_arg PASSED [345/556] >test/test_autopep8.py::SystemTests::test_e731_with_args PASSED [346/556] >test/test_autopep8.py::SystemTests::test_e731_with_default_arguments PASSED [347/556] >test/test_autopep8.py::SystemTests::test_e731_with_select_option PASSED [348/556] >test/test_autopep8.py::SystemTests::test_e731_with_tuple_arg PASSED [349/556] >test/test_autopep8.py::SystemTests::test_e901_should_cause_indentation_screw_up PASSED [350/556] >test/test_autopep8.py::SystemTests::test_exchange_multiple_imports_with_def PASSED [351/556] >test/test_autopep8.py::SystemTests::test_execfile_in_lambda_should_not_be_modified PASSED [352/556] >test/test_autopep8.py::SystemTests::test_fmt_disable PASSED [353/556] >test/test_autopep8.py::SystemTests::test_fmt_disable_with_double_reenable PASSED [354/556] >test/test_autopep8.py::SystemTests::test_fmt_disable_without_reenable PASSED [355/556] >test/test_autopep8.py::SystemTests::test_fmt_double_disable_and_reenable PASSED [356/556] >test/test_autopep8.py::SystemTests::test_fmt_multi_disable_and_reenable FAILED [357/556] >test/test_autopep8.py::SystemTests::test_fmt_multi_disable_complex FAILED [358/556] >test/test_autopep8.py::SystemTests::test_fmt_multi_disable_complex_multi FAILED [359/556] >test/test_autopep8.py::SystemTests::test_general_disable FAILED [360/556] >test/test_autopep8.py::SystemTests::test_ignore_e265 PASSED [361/556] >test/test_autopep8.py::SystemTests::test_ignore_e266 PASSED [362/556] >test/test_autopep8.py::SystemTests::test_ignore_only_w503_with_select_w PASSED [363/556] >test/test_autopep8.py::SystemTests::test_ignore_only_w504_with_select_w PASSED [364/556] >test/test_autopep8.py::SystemTests::test_ignore_w503_and_w504_with_select_w PASSED [365/556] >test/test_autopep8.py::SystemTests::test_long_import_line PASSED [366/556] >test/test_autopep8.py::SystemTests::test_not_e301_extended_with_comment PASSED [367/556] >test/test_autopep8.py::SystemTests::test_range PASSED [368/556] >test/test_autopep8.py::SystemTests::test_range_indent_changes_small_range PASSED [369/556] >test/test_autopep8.py::SystemTests::test_range_indent_continued_statements_last_block PASSED [370/556] >test/test_autopep8.py::SystemTests::test_range_indent_continued_statements_partial PASSED [371/556] >test/test_autopep8.py::SystemTests::test_range_indent_deep_if_blocks_first_block PASSED [372/556] >test/test_autopep8.py::SystemTests::test_range_indent_deep_if_blocks_second_block PASSED [373/556] >test/test_autopep8.py::SystemTests::test_range_line_number_changes_from_one_line FAILED [374/556] >test/test_autopep8.py::SystemTests::test_range_with_broken_syntax PASSED [375/556] >test/test_autopep8.py::SystemTests::test_should_preserve_vertical_tab PASSED [376/556] >test/test_autopep8.py::SystemTests::test_trailing_whitespace_in_multiline_string PASSED [377/556] >test/test_autopep8.py::SystemTests::test_trailing_whitespace_in_multiline_string_aggressive PASSED [378/556] >test/test_autopep8.py::SystemTests::test_w191 PASSED [379/556] >test/test_autopep8.py::SystemTests::test_w191_ignore PASSED [380/556] >test/test_autopep8.py::SystemTests::test_w191_should_ignore_multiline_strings PASSED [381/556] >test/test_autopep8.py::SystemTests::test_w191_should_ignore_tabs_in_strings PASSED [382/556] >test/test_autopep8.py::SystemTests::test_w291 PASSED [383/556] >test/test_autopep8.py::SystemTests::test_w291_with_comment PASSED [384/556] >test/test_autopep8.py::SystemTests::test_w292 PASSED [385/556] >test/test_autopep8.py::SystemTests::test_w292_ignore PASSED [386/556] >test/test_autopep8.py::SystemTests::test_w293 PASSED [387/556] >test/test_autopep8.py::SystemTests::test_w391 PASSED [388/556] >test/test_autopep8.py::SystemTests::test_w391_more_complex PASSED [389/556] >test/test_autopep8.py::SystemTests::test_w503 PASSED [390/556] >test/test_autopep8.py::SystemTests::test_w503_and_or PASSED [391/556] >test/test_autopep8.py::SystemTests::test_w503_and_w504_conflict PASSED [392/556] >test/test_autopep8.py::SystemTests::test_w503_over_5lines PASSED [393/556] >test/test_autopep8.py::SystemTests::test_w503_skip_default PASSED [394/556] >test/test_autopep8.py::SystemTests::test_w503_w504_both_ignored PASSED [395/556] >test/test_autopep8.py::SystemTests::test_w503_w504_none_ignored PASSED [396/556] >test/test_autopep8.py::SystemTests::test_w503_with_comment PASSED [397/556] >test/test_autopep8.py::SystemTests::test_w503_with_comment_double PASSED [398/556] >test/test_autopep8.py::SystemTests::test_w503_with_comment_into_point_out_line PASSED [399/556] >test/test_autopep8.py::SystemTests::test_w503_with_comment_with_only_comment_block_charactor PASSED [400/556] >test/test_autopep8.py::SystemTests::test_w503_with_empty_line PASSED [401/556] >test/test_autopep8.py::SystemTests::test_w503_with_ignore_w504 PASSED [402/556] >test/test_autopep8.py::SystemTests::test_w503_with_line_comment PASSED [403/556] >test/test_autopep8.py::SystemTests::test_w503_with_line_comments PASSED [404/556] >test/test_autopep8.py::SystemTests::test_w504 PASSED [405/556] >test/test_autopep8.py::SystemTests::test_w504_comment_on_each_lines PASSED [406/556] >test/test_autopep8.py::SystemTests::test_w504_comment_on_first_line PASSED [407/556] >test/test_autopep8.py::SystemTests::test_w504_comment_on_second_line PASSED [408/556] >test/test_autopep8.py::SystemTests::test_w504_not_applied_by_default_when_modifying_with_ignore PASSED [409/556] >test/test_autopep8.py::SystemTests::test_w504_with_e265_ignore_option PASSED [410/556] >test/test_autopep8.py::SystemTests::test_w504_with_e265_ignore_option_regression PASSED [411/556] >test/test_autopep8.py::SystemTests::test_w504_with_ignore_w503 PASSED [412/556] >test/test_autopep8.py::SystemTests::test_w504_with_line_comment PASSED [413/556] >test/test_autopep8.py::SystemTests::test_w605_identical_token PASSED [414/556] >test/test_autopep8.py::SystemTests::test_w605_simple PASSED [415/556] >test/test_autopep8.py::SystemTests::test_w605_with_invalid_syntax PASSED [416/556] >test/test_autopep8.py::SystemTests::test_w605_with_multilines PASSED [417/556] >test/test_autopep8.py::SystemTests::test_with_walrus_operator PASSED [418/556] >test/test_autopep8.py::UtilityFunctionTests::test_get_module_imports PASSED [419/556] >test/test_autopep8.py::UtilityFunctionTests::test_get_module_imports_case_of_autopep8 PASSED [420/556] >test/test_autopep8.py::CommandLineTests::test_diff PASSED [421/556] >test/test_autopep8.py::CommandLineTests::test_diff_with_empty_file PASSED [422/556] >test/test_autopep8.py::CommandLineTests::test_diff_with_exit_code_option PASSED [423/556] >test/test_autopep8.py::CommandLineTests::test_diff_with_nonexistent_file PASSED [424/556] >test/test_autopep8.py::CommandLineTests::test_diff_with_standard_in PASSED [425/556] >test/test_autopep8.py::CommandLineTests::test_e122_and_e302_with_backslash PASSED [426/556] >test/test_autopep8.py::CommandLineTests::test_exclude PASSED [427/556] >test/test_autopep8.py::CommandLineTests::test_exclude_with_directly_file_args PASSED [428/556] >test/test_autopep8.py::CommandLineTests::test_exit_code_should_be_set_when_standard_in PASSED [429/556] >test/test_autopep8.py::CommandLineTests::test_exit_code_with_io_error PASSED [430/556] >test/test_autopep8.py::CommandLineTests::test_fixpep8_class_constructor PASSED [431/556] >test/test_autopep8.py::CommandLineTests::test_help PASSED [432/556] >test/test_autopep8.py::CommandLineTests::test_in_place PASSED [433/556] >test/test_autopep8.py::CommandLineTests::test_in_place_and_diff PASSED [434/556] >test/test_autopep8.py::CommandLineTests::test_in_place_no_modifications_no_writes PASSED [435/556] >test/test_autopep8.py::CommandLineTests::test_in_place_no_modifications_no_writes_with_empty_file PASSED [436/556] >test/test_autopep8.py::CommandLineTests::test_in_place_with_empty_file PASSED [437/556] >test/test_autopep8.py::CommandLineTests::test_in_place_with_exit_code_option PASSED [438/556] >test/test_autopep8.py::CommandLineTests::test_in_place_with_exit_code_option_with_w391 PASSED [439/556] >test/test_autopep8.py::CommandLineTests::test_in_place_with_w292 PASSED [440/556] >test/test_autopep8.py::CommandLineTests::test_indent_size_is_zero PASSED [441/556] >test/test_autopep8.py::CommandLineTests::test_inplace_with_multi_files PASSED [442/556] >test/test_autopep8.py::CommandLineTests::test_invalid_option_combinations PASSED [443/556] >test/test_autopep8.py::CommandLineTests::test_list_fixes PASSED [444/556] >test/test_autopep8.py::CommandLineTests::test_non_diff_with_exit_code_and_jobs_options PASSED [445/556] >test/test_autopep8.py::CommandLineTests::test_non_diff_with_exit_code_option PASSED [446/556] >test/test_autopep8.py::CommandLineTests::test_parallel_jobs PASSED [447/556] >test/test_autopep8.py::CommandLineTests::test_parallel_jobs_with_automatic_cpu_count PASSED [448/556] >test/test_autopep8.py::CommandLineTests::test_parallel_jobs_with_diff_option PASSED [449/556] >test/test_autopep8.py::CommandLineTests::test_parallel_jobs_with_inplace_option_and_io_error PASSED [450/556] >test/test_autopep8.py::CommandLineTests::test_pep8_ignore PASSED [451/556] >test/test_autopep8.py::CommandLineTests::test_pep8_ignore_should_handle_trailing_comma_gracefully PASSED [452/556] >test/test_autopep8.py::CommandLineTests::test_pep8_passes PASSED [453/556] >test/test_autopep8.py::CommandLineTests::test_recursive PASSED [454/556] >test/test_autopep8.py::CommandLineTests::test_recursive_should_ignore_hidden PASSED [455/556] >test/test_autopep8.py::CommandLineTests::test_recursive_should_not_crash_on_unicode_filename PASSED [456/556] >test/test_autopep8.py::CommandLineTests::test_standard_in PASSED [457/556] >test/test_autopep8.py::CommandLineTests::test_standard_out_should_use_native_line_ending PASSED [458/556] >test/test_autopep8.py::CommandLineTests::test_standard_out_should_use_native_line_ending_with_cr_input PASSED [459/556] >test/test_autopep8.py::CommandLineTests::test_verbose PASSED [460/556] >test/test_autopep8.py::CommandLineTests::test_verbose_diff PASSED [461/556] >test/test_autopep8.py::CommandLineTests::test_verbose_with_select_e702 PASSED [462/556] >test/test_autopep8.py::ConfigurationTests::test_config_false_with_local PASSED [463/556] >test/test_autopep8.py::ConfigurationTests::test_config_false_with_local_autocomplete PASSED [464/556] >test/test_autopep8.py::ConfigurationTests::test_config_false_with_local_space PASSED [465/556] >test/test_autopep8.py::ConfigurationTests::test_config_false_without_local PASSED [466/556] >test/test_autopep8.py::ConfigurationTests::test_config_local_inclue_invalid_key PASSED [467/556] >test/test_autopep8.py::ConfigurationTests::test_config_local_int_value PASSED [468/556] >test/test_autopep8.py::ConfigurationTests::test_config_override PASSED [469/556] >test/test_autopep8.py::ConfigurationTests::test_global_config_ignore_locals PASSED [470/556] >test/test_autopep8.py::ConfigurationTests::test_global_config_with_locals PASSED [471/556] >test/test_autopep8.py::ConfigurationTests::test_global_config_without_locals PASSED [472/556] >test/test_autopep8.py::ConfigurationTests::test_local_config PASSED [473/556] >test/test_autopep8.py::ConfigurationTests::test_local_pycodestyle_config_line_length PASSED [474/556] >test/test_autopep8.py::ConfigurationTests::test_pyproject_toml_config_local_int_value PASSED [475/556] >test/test_autopep8.py::ConfigurationFileTests::test_pyproject_toml_with_flake8_config PASSED [476/556] >test/test_autopep8.py::ConfigurationFileTests::test_pyproject_toml_with_iterable_value PASSED [477/556] >test/test_autopep8.py::ConfigurationFileTests::test_pyproject_toml_with_verbose_option PASSED [478/556] >test/test_autopep8.py::ConfigurationFileTests::test_setupcfg_with_flake8_config PASSED [479/556] >test/test_autopep8.py::ConfigurationFileTests::test_setupcfg_with_pycodestyle_config PASSED [480/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_alone_with_indentation PASSED [481/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_alone_with_tuple SKIPPED [482/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_and_import PASSED [483/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_and_multiple_logical_lines PASSED [484/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_and_multiple_logical_lines_with_math PASSED [485/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_arithmetic_operator_with_indent PASSED [486/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_avoid_breaking_at_empty_parentheses_if_possible PASSED [487/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_basic PASSED [488/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_basic_should_prefer_balanced_brackets PASSED [489/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_decorator PASSED [490/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_dict PASSED [491/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_do_not_begin_line_with_comma PASSED [492/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_do_not_break_on_keyword PASSED [493/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_dont_split_if_looks_bad PASSED [494/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_for_line_over_limit PASSED [495/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_func_call_open_paren_not_separated PASSED [496/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_if_line_over_limit PASSED [497/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_indentation PASSED [498/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_list_comp PASSED [499/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_long_class_name PASSED [500/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_long_dotted_object PASSED [501/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_long_function_call_elements PASSED [502/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_long_nested_tuples_in_arrays PASSED [503/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_more_complicated PASSED [504/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_no_line_change PASSED [505/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_no_splitting_at_dot PASSED [506/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_no_splitting_before_arg_list PASSED [507/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_no_splitting_in_func_call PASSED [508/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_oversized_default_initializer PASSED [509/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_parsing_dict_with_comments PASSED [510/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_shorten_at_commas_skip PASSED [511/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_should_cut_comment_pattern PASSED [512/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_should_ignore_imports PASSED [513/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_should_not_break_on_dot PASSED [514/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_should_not_do_useless_things PASSED [515/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_should_not_interfere_with_non_comment PASSED [516/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_should_not_try_to_break_at_every_paren_in_arithmetic PASSED [517/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_should_only_modify_last_comment PASSED [518/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_skip_even_more_complicated PASSED [519/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_splitting_small_arrays PASSED [520/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_tuple_on_line SKIPPED [521/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_tuple_on_line_two_space_indent PASSED [522/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_while_line_over_limit PASSED [523/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_commas_and_colons PASSED [524/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_comment PASSED [525/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_comment_should_not_modify_docstring PASSED [526/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_complex_reformat PASSED [527/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_def PASSED [528/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_dot_calls PASSED [529/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_function_should_not_break_on_colon PASSED [530/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_in PASSED [531/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_indent PASSED [532/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_inline_comments PASSED [533/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_inline_comments_should_skip_edge_cases PASSED [534/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_inline_comments_should_skip_keywords PASSED [535/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_inline_comments_should_skip_multiline PASSED [536/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_logical_fix PASSED [537/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_logical_fix_and_physical_fix PASSED [538/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_multiple_lines PASSED [539/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_percent PASSED [540/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_shorter_length PASSED [541/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_tuple PASSED [542/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_tuple_assignment PASSED [543/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_tuple_in_list PASSED [544/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_unicode PASSED [545/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_experimental_with_very_long_line PASSED [546/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_shorten_comment_with_experimental PASSED [547/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_with_experimental PASSED [548/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_with_experimental_and_carriage_returns_only PASSED [549/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_with_experimental_and_escaped_newline PASSED [550/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_with_experimental_and_indentation PASSED [551/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_with_experimental_and_multiline_string PASSED [552/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_with_experimental_and_multiline_string_in_parens PASSED [553/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_with_experimental_and_multiline_string_with_addition PASSED [554/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_with_logical_fix_and_adjacent_strings PASSED [555/556] >test/test_autopep8.py::ExperimentalSystemTests::test_e501_with_multiple_keys_and_experimental PASSED [556/556] > >=================================== FAILURES =================================== >_________________ UnitTests.test_fix_code_with_multiple_lines __________________ > >self = <test.test_autopep8.UnitTests testMethod=test_fix_code_with_multiple_lines> > > def test_fix_code_with_multiple_lines(self): > self.assertEqual( > 'print(123)\nx = 4\n', >> autopep8.fix_code('print( 123 )\nx =4')) > >self = <test.test_autopep8.UnitTests testMethod=test_fix_code_with_multiple_lines> > >test/test_autopep8.py:311: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >autopep8.py:3506: in fix_code > return fix_lines(sio.readlines(), options=options) > apply_config = False > encoding = None > ignore_opt = ['E226', 'E24', 'W50', 'W690'] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore=['E226', 'E24', 'W50', 'W690'], select=[], max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['']) > sio = <_io.StringIO object at 0x00007fb231940098> > source = 'print( 123 )\nx =4' >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '' > fix = <autopep8.FixPEP8 object at 0x00007fb23192f948> > fixed_source = 'print( 123 )\nx =4' > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore=['E226', 'E24', 'W50', 'W690'], select=[], max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['']) > original_newline = '\n' > passes = 1 > previous_hashes = {5461454081533479570} > source_lines = ['print( 123 )\n', 'x =4'] > tmp_source = 'print( 123 )\nx =4' >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, > 'ignore': ['E226', 'E24', 'W50', 'W690'], > 'max_line_length': 79, > 'select': []} > results = [{'column': 7, 'id': 'E201', 'info': "E201 whitespace after '('", 'line': 1}, > {'column': 11, 'id': 'E202', 'info': "E202 whitespace before ')'", 'line': 1}, > {'column': 7, > 'id': 'W292', > 'info': 'W292 no newline at end of file', > 'line': 2}, > {'column': 6, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 2}, > {'column': 2, > 'id': 'E221', > 'info': 'E221 multiple spaces before operator', > 'line': 2}] > self = <autopep8.FixPEP8 object at 0x00007fb23192f948> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = set() > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x00007fb23192f948>> > fixed_methodname = 'fix_e225' > is_logical_fix = False > line_index = 1 > logical_end = [(0, 12), (1, 6)] > logical_start = [(0, 0), (1, 0)] > logical_support = True > original_line = 'x =4' > result = {'column': 6, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 2} > results = <generator object filter_results at 0x00007fb23323d8a0> > self = <autopep8.FixPEP8 object at 0x00007fb23192f948> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x00007fb23192f948> >result = {'column': 6, 'id': 'E225', 'info': 'E225 missing whitespace around operator', 'line': 2} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E225' >fixed = 'x = 4' >offset = 5 >result = {'column': 6, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 2} >self = <autopep8.FixPEP8 object at 0x00007fb23192f948> >target = 'x =4' >ts = [TokenInfo(type=1 (NAME), string='x', start=(1, 0), end=(1, 1), line='x = 4'), > TokenInfo(type=55 (OP), string='=', start=(1, 4), end=(1, 5), line='x = 4'), > TokenInfo(type=2 (NUMBER), string='4', start=(1, 6), end=(1, 7), line='x = 4'), > TokenInfo(type=4 (NEWLINE), string='', start=(1, 7), end=(1, 8), line=''), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >___________________________ UnitTests.test_fix_file ____________________________ > >self = <test.test_autopep8.UnitTests testMethod=test_fix_file> > > def test_fix_file(self): > self.assertIn( > 'import ', >> autopep8.fix_file( > filename=os.path.join(ROOT_DIR, 'test', 'example.py'))) > >self = <test.test_autopep8.UnitTests testMethod=test_fix_file> > >test/test_autopep8.py:280: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2/test/example.py' > fixed_source = ['import sys, os\n', > '\n', > 'def foo():\n', > ' import subprocess, argparse\n', > ' import copy; import math, email\n', > '\n', > '\n', > 'print(1) \n', > 'print(2) # e261\n', > 'd = {1: 2,# e261\n', > ' 3: 4}\n', > 'print(2) ## e262\n', > 'print(2) #### e262\n', > 'print(2) #e262\n', > 'print(2) # e262\n', > '1 /1\n', > '1 *2\n', > '1 +1\n', > '1 -1\n', > '1 **2\n', > '\n', > '\n', > 'def dummy1 ( a ):\n', > ' print(a) \n', > ' print(a)\n', > '\n', > '\n', > 'def dummy2(a) :\n', > ' if 1 in a:\n', > ' print("a")\n', > ' print(1+1) # e225\n', > ' print(1 +1) # e225\n', > ' print(1+ 1) # e225\n', > '\n', > '\n', > ' print(1 +1) # e221+e225\n', > ' print(1 + 1) # e221\n', > ' print(1 * 1) # e221\n', > ' print(1 + 1) # e222\n', > ' print(1 * 1) # e222\n', > ' print(a)\n', > '\n', > '\n', > 'def func1():\n', > ' print("A")\n', > ' \n', > ' return 0\n', > '\n', > '\n', > '\n', > 'def func11():\n', > ' a = (1,2, 3,"a")\n', > ' b = [1, 2, 3,"b"]\n', > ' c = 0,11/2\n', > ' return 1\n', > '\n', > '\n', > '\n', > '\n', > '# comment after too empty lines\n', > 'def func2():\n', > ' pass\n', > 'def func22():\n', > ' pass;\n', > '\n', > '\n', > 'def func_oneline(): print(1)\n', > '\n', > 'def func_last():\n', > ' if True: print(1)\n', > ' pass\n', > '\n', > '\n', > 'def func_e251(a, b=1, c = 3):\n', > ' pass\n', > '\n', > '\n', > 'def func_e251_t(a, b=1, c = 3, d = 4):\n', > ' pass\n', > '\n', > '\n', > '# e201\n', > '( 1)\n', > '[ 1]\n', > '{ 1: 2}\n', > '\n', > '# e202\n', > '(1 )\n', > '[1 ]\n', > '{1: 2 }\n', > '\n', > '# e203\n', > '{4 : 2}\n', > '[4 , 2]\n', > '\n', > '# e211\n', > 'd = [1]\n', > 'd \t [0]\n', > 'dummy1 \t (0)\n', > '\n', > '\n', > 'def func_e702():\n', > ' 4; 1;\n', > ' 4; 1;\t \n', > ' 4; 1;\n', > '\n', > ' 4; 1;\n', > ' print(2); print(4); 6;8\n', > ' if True:\n', > ' 1; 2; 3\n', > '0; 1\n', > '2;3\n', > '4; 5;\n', > '\n', > '\n', > 'def func_w602():\n', > ' raise ValueError, "w602 test"\n', > ' raise ValueError, "w602 test" # my comment\n', > '\n', > ' raise ValueError\n', > ' raise ValueError # comment\n', > '\n', > " raise ValueError, 'arg' ; print(1)\n", > " raise ValueError, 'arg' ; print(2) # my comment\n", > '\n', > ' raise ValueError, \\\n', > " 'arg no comment'\n", > ' raise ValueError, \\\n', > " 'arg' # my comment\n", > ' raise ValueError, \\\n', > ' """arg""" # my comment\n', > ' raise ValueError, \\\n', > ' """arg\n', > '\n', > ' """ # my comment\n', > ' raise ValueError, \\\n', > " '''multiline\n", > '\n', > "''' # my comment\n", > '\n', > " a = 'a'\n", > ' raise ValueError, "%s" % (a,)\n', > '\n', > " raise 'string'\n", > '\n', > '\n', > 'def func_w603():\n', > ' if 1 <> 2:\n', > ' if 2 <> 2:\n', > ' print(True)\n', > ' else:\n', > ' print(False)\n', > '\n', > '\n', > 'def func_w604():\n', > ' a = 1.1\n', > ' b = ```a```\n', > '\n', > 'def func_e101():\n', > "\tprint('abc')\n", > '\tif True:\n', > "\t print('hello')\n", > '\n', > "if __name__ == '__main__': func_last()\n", > ' \n'] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2/test/example.py']) > original_source = ['import sys, os\n', > '\n', > 'def foo():\n', > ' import subprocess, argparse\n', > ' import copy; import math, email\n', > '\n', > '\n', > 'print(1) \n', > 'print(2) # e261\n', > 'd = {1: 2,# e261\n', > ' 3: 4}\n', > 'print(2) ## e262\n', > 'print(2) #### e262\n', > 'print(2) #e262\n', > 'print(2) # e262\n', > '1 /1\n', > '1 *2\n', > '1 +1\n', > '1 -1\n', > '1 **2\n', > '\n', > '\n', > 'def dummy1 ( a ):\n', > ' print(a) \n', > ' print(a)\n', > '\n', > '\n', > 'def dummy2(a) :\n', > ' if 1 in a:\n', > ' print("a")\n', > ' print(1+1) # e225\n', > ' print(1 +1) # e225\n', > ' print(1+ 1) # e225\n', > '\n', > '\n', > ' print(1 +1) # e221+e225\n', > ' print(1 + 1) # e221\n', > ' print(1 * 1) # e221\n', > ' print(1 + 1) # e222\n', > ' print(1 * 1) # e222\n', > ' print(a)\n', > '\n', > '\n', > 'def func1():\n', > ' print("A")\n', > ' \n', > ' return 0\n', > '\n', > '\n', > '\n', > 'def func11():\n', > ' a = (1,2, 3,"a")\n', > ' b = [1, 2, 3,"b"]\n', > ' c = 0,11/2\n', > ' return 1\n', > '\n', > '\n', > '\n', > '\n', > '# comment after too empty lines\n', > 'def func2():\n', > ' pass\n', > 'def func22():\n', > ' pass;\n', > '\n', > '\n', > 'def func_oneline(): print(1)\n', > '\n', > 'def func_last():\n', > ' if True: print(1)\n', > ' pass\n', > '\n', > '\n', > 'def func_e251(a, b=1, c = 3):\n', > ' pass\n', > '\n', > '\n', > 'def func_e251_t(a, b=1, c = 3, d = 4):\n', > ' pass\n', > '\n', > '\n', > '# e201\n', > '( 1)\n', > '[ 1]\n', > '{ 1: 2}\n', > '\n', > '# e202\n', > '(1 )\n', > '[1 ]\n', > '{1: 2 }\n', > '\n', > '# e203\n', > '{4 : 2}\n', > '[4 , 2]\n', > '\n', > '# e211\n', > 'd = [1]\n', > 'd \t [0]\n', > 'dummy1 \t (0)\n', > '\n', > '\n', > 'def func_e702():\n', > ' 4; 1;\n', > ' 4; 1;\t \n', > ' 4; 1;\n', > '\n', > ' 4; 1;\n', > ' print(2); print(4); 6;8\n', > ' if True:\n', > ' 1; 2; 3\n', > '0; 1\n', > '2;3\n', > '4; 5;\n', > '\n', > '\n', > 'def func_w602():\n', > ' raise ValueError, "w602 test"\n', > ' raise ValueError, "w602 test" # my comment\n', > '\n', > ' raise ValueError\n', > ' raise ValueError # comment\n', > '\n', > " raise ValueError, 'arg' ; print(1)\n", > " raise ValueError, 'arg' ; print(2) # my comment\n", > '\n', > ' raise ValueError, \\\n', > " 'arg no comment'\n", > ' raise ValueError, \\\n', > " 'arg' # my comment\n", > ' raise ValueError, \\\n', > ' """arg""" # my comment\n', > ' raise ValueError, \\\n', > ' """arg\n', > '\n', > ' """ # my comment\n', > ' raise ValueError, \\\n', > " '''multiline\n", > '\n', > "''' # my comment\n", > '\n', > " a = 'a'\n", > ' raise ValueError, "%s" % (a,)\n', > '\n', > " raise 'string'\n", > '\n', > '\n', > 'def func_w603():\n', > ' if 1 <> 2:\n', > ' if 2 <> 2:\n', > ' print(True)\n', > ' else:\n', > ' print(False)\n', > '\n', > '\n', > 'def func_w604():\n', > ' a = 1.1\n', > ' b = ```a```\n', > '\n', > 'def func_e101():\n', > "\tprint('abc')\n", > '\tif True:\n', > "\t print('hello')\n", > '\n', > "if __name__ == '__main__': func_last()\n", > ' \n'] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2/test/example.py' > fix = <autopep8.FixPEP8 object at 0x00007fb231dd3d00> > fixed_source = ('import sys, os\n' > '\n' > 'def foo():\n' > ' import subprocess, argparse\n' > ' import copy; import math, email\n' > '\n' > '\n' > 'print(1) \n' > 'print(2) # e261\n' > 'd = {1: 2,# e261\n' > ' 3: 4}\n' > 'print(2) ## e262\n' > 'print(2) #### e262\n' > 'print(2) #e262\n' > 'print(2) # e262\n' > '1 /1\n' > '1 *2\n' > '1 +1\n' > '1 -1\n' > '1 **2\n' > '\n' > '\n' > 'def dummy1 ( a ):\n' > ' print(a) \n' > ' print(a)\n' > '\n' > '\n' > 'def dummy2(a) :\n' > ' if 1 in a:\n' > ' print("a")\n' > ' print(1+1) # e225\n' > ' print(1 +1) # e225\n' > ' print(1+ 1) # e225\n' > '\n' > '\n' > ' print(1 +1) # e221+e225\n' > ' print(1 + 1) # e221\n' > ' print(1 * 1) # e221\n' > ' print(1 + 1) # e222\n' > ' print(1 * 1) # e222\n' > ' print(a)\n' > '\n' > '\n' > 'def func1():\n' > ' print("A")\n' > '\n' > ' return 0\n' > '\n' > '\n' > '\n' > 'def func11():\n' > ' a = (1,2, 3,"a")\n' > ' b = [1, 2, 3,"b"]\n' > ' c = 0,11/2\n' > ' return 1\n' > '\n' > '\n' > '\n' > '\n' > '# comment after too empty lines\n' > 'def func2():\n' > ' pass\n' > 'def func22():\n' > ' pass;\n' > '\n' > '\n' > 'def func_oneline(): print(1)\n' > '\n' > 'def func_last():\n' > ' if True: print(1)\n' > ' pass\n' > '\n' > '\n' > 'def func_e251(a, b=1, c = 3):\n' > ' pass\n' > '\n' > '\n' > 'def func_e251_t(a, b=1, c = 3, d = 4):\n' > ' pass\n' > '\n' > '\n' > '# e201\n' > '( 1)\n' > '[ 1]\n' > '{ 1: 2}\n' > '\n' > '# e202\n' > '(1 )\n' > '[1 ]\n' > '{1: 2 }\n' > '\n' > '# e203\n' > '{4 : 2}\n' > '[4 , 2]\n' > '\n' > '# e211\n' > 'd = [1]\n' > 'd \t [0]\n' > 'dummy1 \t (0)\n' > '\n' > '\n' > 'def func_e702():\n' > ' 4; 1;\n' > ' 4; 1;\t \n' > ' 4; 1;\n' > '\n' > ' 4; 1;\n' > ' print(2); print(4); 6;8\n' > ' if True:\n' > ' 1; 2; 3\n' > '0; 1\n' > '2;3\n' > '4; 5;\n' > '\n' > '\n' > 'def func_w602():\n' > ' raise ValueError, "w602 test"\n' > ' raise ValueError, "w602 test" # my comment\n' > '\n' > ' raise ValueError\n' > ' raise ValueError # comment\n' > '\n' > " raise ValueError, 'arg' ; print(1)\n" > " raise ValueError, 'arg' ; print(2) # my comment\n" > '\n' > ' raise ValueError, \\\n' > " 'arg no comment'\n" > ' raise ValueError, \\\n' > " 'arg' # my comment\n" > ' raise ValueError, \\\n' > ' """arg""" # my comment\n' > ' raise ValueError, \\\n' > ' """arg\n' > '\n' > ' """ # my comment\n' > ' raise ValueError, \\\n' > " '''multiline\n" > '\n' > "''' # my comment\n" > '\n' > " a = 'a'\n" > ' raise ValueError, "%s" % (a,)\n' > '\n' > " raise 'string'\n" > '\n' > '\n' > 'def func_w603():\n' > ' if 1 <> 2:\n' > ' if 2 <> 2:\n' > ' print(True)\n' > ' else:\n' > ' print(False)\n' > '\n' > '\n' > 'def func_w604():\n' > ' a = 1.1\n' > ' b = ```a```\n' > '\n' > 'def func_e101():\n' > " print('abc')\n" > ' if True:\n' > " print('hello')\n" > '\n' > "if __name__ == '__main__': func_last()\n" > '\n') > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2/test/example.py']) > original_newline = '\n' > passes = 1 > previous_hashes = {-7771305529317490046} > source_lines = ['import sys, os\n', > '\n', > 'def foo():\n', > ' import subprocess, argparse\n', > ' import copy; import math, email\n', > '\n', > '\n', > 'print(1) \n', > 'print(2) # e261\n', > 'd = {1: 2,# e261\n', > ' 3: 4}\n', > 'print(2) ## e262\n', > 'print(2) #### e262\n', > 'print(2) #e262\n', > 'print(2) # e262\n', > '1 /1\n', > '1 *2\n', > '1 +1\n', > '1 -1\n', > '1 **2\n', > '\n', > '\n', > 'def dummy1 ( a ):\n', > ' print(a) \n', > ' print(a)\n', > '\n', > '\n', > 'def dummy2(a) :\n', > ' if 1 in a:\n', > ' print("a")\n', > ' print(1+1) # e225\n', > ' print(1 +1) # e225\n', > ' print(1+ 1) # e225\n', > '\n', > '\n', > ' print(1 +1) # e221+e225\n', > ' print(1 + 1) # e221\n', > ' print(1 * 1) # e221\n', > ' print(1 + 1) # e222\n', > ' print(1 * 1) # e222\n', > ' print(a)\n', > '\n', > '\n', > 'def func1():\n', > ' print("A")\n', > ' \n', > ' return 0\n', > '\n', > '\n', > '\n', > 'def func11():\n', > ' a = (1,2, 3,"a")\n', > ' b = [1, 2, 3,"b"]\n', > ' c = 0,11/2\n', > ' return 1\n', > '\n', > '\n', > '\n', > '\n', > '# comment after too empty lines\n', > 'def func2():\n', > ' pass\n', > 'def func22():\n', > ' pass;\n', > '\n', > '\n', > 'def func_oneline(): print(1)\n', > '\n', > 'def func_last():\n', > ' if True: print(1)\n', > ' pass\n', > '\n', > '\n', > 'def func_e251(a, b=1, c = 3):\n', > ' pass\n', > '\n', > '\n', > 'def func_e251_t(a, b=1, c = 3, d = 4):\n', > ' pass\n', > '\n', > '\n', > '# e201\n', > '( 1)\n', > '[ 1]\n', > '{ 1: 2}\n', > '\n', > '# e202\n', > '(1 )\n', > '[1 ]\n', > '{1: 2 }\n', > '\n', > '# e203\n', > '{4 : 2}\n', > '[4 , 2]\n', > '\n', > '# e211\n', > 'd = [1]\n', > 'd \t [0]\n', > 'dummy1 \t (0)\n', > '\n', > '\n', > 'def func_e702():\n', > ' 4; 1;\n', > ' 4; 1;\t \n', > ' 4; 1;\n', > '\n', > ' 4; 1;\n', > ' print(2); print(4); 6;8\n', > ' if True:\n', > ' 1; 2; 3\n', > '0; 1\n', > '2;3\n', > '4; 5;\n', > '\n', > '\n', > 'def func_w602():\n', > ' raise ValueError, "w602 test"\n', > ' raise ValueError, "w602 test" # my comment\n', > '\n', > ' raise ValueError\n', > ' raise ValueError # comment\n', > '\n', > " raise ValueError, 'arg' ; print(1)\n", > " raise ValueError, 'arg' ; print(2) # my comment\n", > '\n', > ' raise ValueError, \\\n', > " 'arg no comment'\n", > ' raise ValueError, \\\n', > " 'arg' # my comment\n", > ' raise ValueError, \\\n', > ' """arg""" # my comment\n', > ' raise ValueError, \\\n', > ' """arg\n', > '\n', > ' """ # my comment\n', > ' raise ValueError, \\\n', > " '''multiline\n", > '\n', > "''' # my comment\n", > '\n', > " a = 'a'\n", > ' raise ValueError, "%s" % (a,)\n', > '\n', > " raise 'string'\n", > '\n', > '\n', > 'def func_w603():\n', > ' if 1 <> 2:\n', > ' if 2 <> 2:\n', > ' print(True)\n', > ' else:\n', > ' print(False)\n', > '\n', > '\n', > 'def func_w604():\n', > ' a = 1.1\n', > ' b = ```a```\n', > '\n', > 'def func_e101():\n', > "\tprint('abc')\n", > '\tif True:\n', > "\t print('hello')\n", > '\n', > "if __name__ == '__main__': func_last()\n", > ' \n'] > tmp_source = ('import sys, os\n' > '\n' > 'def foo():\n' > ' import subprocess, argparse\n' > ' import copy; import math, email\n' > '\n' > '\n' > 'print(1) \n' > 'print(2) # e261\n' > 'd = {1: 2,# e261\n' > ' 3: 4}\n' > 'print(2) ## e262\n' > 'print(2) #### e262\n' > 'print(2) #e262\n' > 'print(2) # e262\n' > '1 /1\n' > '1 *2\n' > '1 +1\n' > '1 -1\n' > '1 **2\n' > '\n' > '\n' > 'def dummy1 ( a ):\n' > ' print(a) \n' > ' print(a)\n' > '\n' > '\n' > 'def dummy2(a) :\n' > ' if 1 in a:\n' > ' print("a")\n' > ' print(1+1) # e225\n' > ' print(1 +1) # e225\n' > ' print(1+ 1) # e225\n' > '\n' > '\n' > ' print(1 +1) # e221+e225\n' > ' print(1 + 1) # e221\n' > ' print(1 * 1) # e221\n' > ' print(1 + 1) # e222\n' > ' print(1 * 1) # e222\n' > ' print(a)\n' > '\n' > '\n' > 'def func1():\n' > ' print("A")\n' > '\n' > ' return 0\n' > '\n' > '\n' > '\n' > 'def func11():\n' > ' a = (1,2, 3,"a")\n' > ' b = [1, 2, 3,"b"]\n' > ' c = 0,11/2\n' > ' return 1\n' > '\n' > '\n' > '\n' > '\n' > '# comment after too empty lines\n' > 'def func2():\n' > ' pass\n' > 'def func22():\n' > ' pass;\n' > '\n' > '\n' > 'def func_oneline(): print(1)\n' > '\n' > 'def func_last():\n' > ' if True: print(1)\n' > ' pass\n' > '\n' > '\n' > 'def func_e251(a, b=1, c = 3):\n' > ' pass\n' > '\n' > '\n' > 'def func_e251_t(a, b=1, c = 3, d = 4):\n' > ' pass\n' > '\n' > '\n' > '# e201\n' > '( 1)\n' > '[ 1]\n' > '{ 1: 2}\n' > '\n' > '# e202\n' > '(1 )\n' > '[1 ]\n' > '{1: 2 }\n' > '\n' > '# e203\n' > '{4 : 2}\n' > '[4 , 2]\n' > '\n' > '# e211\n' > 'd = [1]\n' > 'd \t [0]\n' > 'dummy1 \t (0)\n' > '\n' > '\n' > 'def func_e702():\n' > ' 4; 1;\n' > ' 4; 1;\t \n' > ' 4; 1;\n' > '\n' > ' 4; 1;\n' > ' print(2); print(4); 6;8\n' > ' if True:\n' > ' 1; 2; 3\n' > '0; 1\n' > '2;3\n' > '4; 5;\n' > '\n' > '\n' > 'def func_w602():\n' > ' raise ValueError, "w602 test"\n' > ' raise ValueError, "w602 test" # my comment\n' > '\n' > ' raise ValueError\n' > ' raise ValueError # comment\n' > '\n' > " raise ValueError, 'arg' ; print(1)\n" > " raise ValueError, 'arg' ; print(2) # my comment\n" > '\n' > ' raise ValueError, \\\n' > " 'arg no comment'\n" > ' raise ValueError, \\\n' > " 'arg' # my comment\n" > ' raise ValueError, \\\n' > ' """arg""" # my comment\n' > ' raise ValueError, \\\n' > ' """arg\n' > '\n' > ' """ # my comment\n' > ' raise ValueError, \\\n' > " '''multiline\n" > '\n' > "''' # my comment\n" > '\n' > " a = 'a'\n" > ' raise ValueError, "%s" % (a,)\n' > '\n' > " raise 'string'\n" > '\n' > '\n' > 'def func_w603():\n' > ' if 1 <> 2:\n' > ' if 2 <> 2:\n' > ' print(True)\n' > ' else:\n' > ' print(False)\n' > '\n' > '\n' > 'def func_w604():\n' > ' a = 1.1\n' > ' b = ```a```\n' > '\n' > 'def func_e101():\n' > " print('abc')\n" > ' if True:\n' > " print('hello')\n" > '\n' > "if __name__ == '__main__': func_last()\n" > '\n') >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, > 'ignore': {'E226', 'E24', 'W50', 'W690'}, > 'max_line_length': 79, > 'select': ''} > results = [{'column': 11, > 'id': 'E401', > 'info': 'E401 multiple imports on one line', > 'line': 1}, > {'column': 1, > 'id': 'E302', > 'info': 'E302 expected 2 blank lines, found 1', > 'line': 3}, > {'column': 22, > 'id': 'E401', > 'info': 'E401 multiple imports on one line', > 'line': 4}, > {'column': 16, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 5}, > {'column': 9, 'id': 'W291', 'info': 'W291 trailing whitespace', 'line': 8}, > {'column': 9, > 'id': 'E261', > 'info': 'E261 at least two spaces before inline comment', > 'line': 9}, > {'column': 10, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 10}, > {'column': 11, > 'id': 'E261', > 'info': 'E261 at least two spaces before inline comment', > 'line': 10}, > {'column': 11, > 'id': 'E262', > 'info': "E262 inline comment should start with '# '", > 'line': 12}, > {'column': 11, > 'id': 'E262', > 'info': "E262 inline comment should start with '# '", > 'line': 13}, > {'column': 11, > 'id': 'E262', > 'info': "E262 inline comment should start with '# '", > 'line': 14}, > {'column': 11, > 'id': 'E262', > 'info': "E262 inline comment should start with '# '", > 'line': 15}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 16}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 17}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 18}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 19}, > {'column': 5, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 20}, > {'column': 13, 'id': 'E201', 'info': "E201 whitespace after '('", 'line': 23}, > {'column': 15, 'id': 'E202', 'info': "E202 whitespace before ')'", 'line': 23}, > {'column': 11, 'id': 'E211', 'info': "E211 whitespace before '('", 'line': 23}, > {'column': 13, 'id': 'W291', 'info': 'W291 trailing whitespace', 'line': 24}, > {'column': 14, 'id': 'E203', 'info': "E203 whitespace before ':'", 'line': 28}, > {'column': 18, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 32}, > {'column': 16, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 33}, > {'column': 9, > 'id': 'E303', > 'info': 'E303 too many blank lines (2)', > 'line': 36}, > {'column': 19, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 36}, > {'column': 16, > 'id': 'E221', > 'info': 'E221 multiple spaces before operator', > 'line': 36}, > {'column': 16, > 'id': 'E221', > 'info': 'E221 multiple spaces before operator', > 'line': 37}, > {'column': 16, > 'id': 'E221', > 'info': 'E221 multiple spaces before operator', > 'line': 38}, > {'column': 18, > 'id': 'E222', > 'info': 'E222 multiple spaces after operator', > 'line': 39}, > {'column': 18, > 'id': 'E222', > 'info': 'E222 multiple spaces after operator', > 'line': 40}, > {'column': 1, > 'id': 'E303', > 'info': 'E303 too many blank lines (3)', > 'line': 51}, > {'column': 11, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 52}, > {'column': 16, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 52}, > {'column': 17, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 53}, > {'column': 10, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 54}, > {'column': 1, > 'id': 'E303', > 'info': 'E303 too many blank lines (4)', > 'line': 60}, > {'column': 1, > 'id': 'E302', > 'info': 'E302 expected 2 blank lines, found 4', > 'line': 61}, > {'column': 1, > 'id': 'E302', > 'info': 'E302 expected 2 blank lines, found 0', > 'line': 63}, > {'column': 9, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 64}, > {'column': 9, > 'id': 'E275', > 'info': 'E275 missing whitespace after keyword', > 'line': 64}, > {'column': 1, > 'id': 'E704', > 'info': 'E704 multiple statements on one line (def)', > 'line': 67}, > {'column': 1, > 'id': 'E302', > 'info': 'E302 expected 2 blank lines, found 1', > 'line': 69}, > {'column': 12, > 'id': 'E701', > 'info': 'E701 multiple statements on one line (colon)', > 'line': 70}, > {'column': 24, > 'id': 'E251', > 'info': 'E251 unexpected spaces around keyword / parameter equals', > 'line': 74}, > {'column': 26, > 'id': 'E251', > 'info': 'E251 unexpected spaces around keyword / parameter equals', > 'line': 74}, > {'column': 26, > 'id': 'E251', > 'info': 'E251 unexpected spaces around keyword / parameter equals', > 'line': 78}, > {'column': 28, > 'id': 'E251', > 'info': 'E251 unexpected spaces around keyword / parameter equals', > 'line': 78}, > {'column': 33, > 'id': 'E251', > 'info': 'E251 unexpected spaces around keyword / parameter equals', > 'line': 78}, > {'column': 35, > 'id': 'E251', > 'info': 'E251 unexpected spaces around keyword / parameter equals', > 'line': 78}, > {'column': 2, 'id': 'E201', 'info': "E201 whitespace after '('", 'line': 83}, > {'column': 2, 'id': 'E201', 'info': "E201 whitespace after '['", 'line': 84}, > {'column': 2, 'id': 'E201', 'info': "E201 whitespace after '{'", 'line': 85}, > {'column': 10, 'id': 'E202', 'info': "E202 whitespace before ')'", 'line': 88}, > {'column': 10, 'id': 'E202', 'info': "E202 whitespace before ']'", 'line': 89}, > {'column': 10, 'id': 'E202', 'info': "E202 whitespace before '}'", 'line': 90}, > {'column': 13, 'id': 'E203', 'info': "E203 whitespace before ':'", 'line': 93}, > {'column': 13, 'id': 'E203', 'info': "E203 whitespace before ','", 'line': 94}, > {'column': 2, 'id': 'E211', 'info': "E211 whitespace before '['", 'line': 98}, > {'column': 7, 'id': 'E211', 'info': "E211 whitespace before '('", 'line': 99}, > {'column': 6, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 103}, > {'column': 9, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 103}, > {'column': 10, 'id': 'W291', 'info': 'W291 trailing whitespace', 'line': 104}, > {'column': 6, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 104}, > {'column': 9, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 104}, > {'column': 6, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 105}, > {'column': 9, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 105}, > {'column': 6, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 107}, > {'column': 9, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 107}, > {'column': 13, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 108}, > {'column': 23, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 108}, > {'column': 35, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 108}, > {'column': 35, > 'id': 'E231', > 'info': "E231 missing whitespace after ';'", > 'line': 108}, > {'column': 10, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 110}, > {'column': 13, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 110}, > {'column': 1, > 'id': 'E305', > 'info': 'E305 expected 2 blank lines after class or function definition, ' > 'found 0', > 'line': 111}, > {'column': 2, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 111}, > {'column': 2, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 112}, > {'column': 2, > 'id': 'E231', > 'info': "E231 missing whitespace after ';'", > 'line': 112}, > {'column': 2, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 113}, > {'column': 9, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 113}, > {'column': 31, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 123}, > {'column': 30, > 'id': 'E203', > 'info': "E203 whitespace before ';'", > 'line': 123}, > {'column': 31, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 124}, > {'column': 30, > 'id': 'E203', > 'info': "E203 whitespace before ';'", > 'line': 124}, > {'column': 41, > 'id': 'E261', > 'info': 'E261 at least two spaces before inline comment', > 'line': 124}, > {'column': 1, > 'id': 'E302', > 'info': 'E302 expected 2 blank lines, found 1', > 'line': 159}, > {'column': 1, > 'id': 'E305', > 'info': 'E305 expected 2 blank lines after class or function definition, ' > 'found 1', > 'line': 164}, > {'column': 26, > 'id': 'E701', > 'info': 'E701 multiple statements on one line (colon)', > 'line': 164}, > {'column': 1, > 'id': 'W391', > 'info': 'W391 blank line at end of file', > 'line': 165}] > self = <autopep8.FixPEP8 object at 0x00007fb231dd3d00> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = {70, 71, 164, 165, 5, 103, 104, 105, 107, 108, 110, 111, 112, 113, 123, 124} > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x00007fb231dd3d00>> > fixed_methodname = 'fix_e225' > is_logical_fix = False > line_index = 15 > logical = ((123, 4), > (123, 53), > [" raise ValueError, 'arg' ; print(2) # my comment\n"]) > logical_end = [(0, 14), > (2, 10), > (3, 31), > (4, 35), > (7, 9), > (8, 15), > (10, 10), > (11, 17), > (12, 19), > (13, 15), > (14, 20), > (15, 4), > (16, 4), > (17, 4), > (18, 4), > (19, 5), > (22, 17), > (23, 13), > (24, 12), > (27, 15), > (28, 14), > (29, 18), > (30, 27), > (31, 27), > (32, 27), > (35, 33), > (36, 29), > (37, 29), > (38, 29), > (39, 31), > (40, 12), > (43, 12), > (44, 14), > (46, 12), > (50, 13), > (51, 20), > (52, 21), > (53, 14), > (54, 12), > (60, 12), > (61, 8), > (62, 13), > (63, 9), > (66, 28), > (68, 16), > (69, 21), > (70, 8), > (73, 29), > (74, 8), > (77, 38), > (78, 8), > (82, 12), > (83, 12), > (84, 15), > (87, 11), > (88, 11), > (89, 11), > (92, 17), > (93, 17), > (96, 7), > (97, 8), > (98, 14), > (101, 16), > (102, 9), > (103, 12), > (104, 9), > (106, 9), > (107, 36), > (108, 12), > (109, 15), > (110, 4), > (111, 3), > (112, 9), > (115, 16), > (116, 33), > (117, 47), > (119, 20), > (120, 31), > (122, 40), > (123, 53), > (126, 24), > (128, 27), > (130, 31), > (134, 19), > (138, 17), > (140, 11), > (141, 33), > (143, 18), > (146, 16), > (147, 14), > (148, 18), > (149, 23), > (150, 13), > (151, 24), > (154, 16), > (155, 11), > (156, 15), > (158, 16), > (159, 16), > (160, 12), > (161, 22), > (163, 38)] > logical_start = [(0, 0), > (2, 0), > (3, 4), > (4, 4), > (7, 0), > (8, 0), > (9, 0), > (11, 0), > (12, 0), > (13, 0), > (14, 0), > (15, 0), > (16, 0), > (17, 0), > (18, 0), > (19, 0), > (22, 0), > (23, 4), > (24, 4), > (27, 0), > (28, 4), > (29, 8), > (30, 8), > (31, 8), > (32, 8), > (35, 8), > (36, 8), > (37, 8), > (38, 8), > (39, 8), > (40, 4), > (43, 0), > (44, 4), > (46, 4), > (50, 0), > (51, 4), > (52, 4), > (53, 4), > (54, 4), > (60, 0), > (61, 4), > (62, 0), > (63, 4), > (66, 0), > (68, 0), > (69, 4), > (70, 4), > (73, 0), > (74, 4), > (77, 0), > (78, 4), > (82, 0), > (83, 0), > (84, 0), > (87, 0), > (88, 0), > (89, 0), > (92, 0), > (93, 0), > (96, 0), > (97, 0), > (98, 0), > (101, 0), > (102, 4), > (103, 4), > (104, 4), > (106, 4), > (107, 4), > (108, 4), > (109, 8), > (110, 0), > (111, 0), > (112, 0), > (115, 0), > (116, 4), > (117, 4), > (119, 4), > (120, 4), > (122, 4), > (123, 4), > (125, 4), > (127, 4), > (129, 4), > (131, 4), > (135, 4), > (140, 4), > (141, 4), > (143, 4), > (146, 0), > (147, 4), > (148, 8), > (149, 12), > (150, 8), > (151, 12), > (154, 0), > (155, 4), > (156, 4), > (158, 0), > (159, 4), > (160, 4), > (161, 8), > (163, 0)] > logical_support = True > modified_lines = [124] > original_line = '1 /1\n' > result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 16} > results = <generator object filter_results at 0x00007fb23195ede0> > self = <autopep8.FixPEP8 object at 0x00007fb231dd3d00> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x00007fb231dd3d00> >result = {'column': 4, 'id': 'E225', 'info': 'E225 missing whitespace around operator', 'line': 16} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E225' >fixed = '1 / 1\n' >offset = 3 >result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 16} >self = <autopep8.FixPEP8 object at 0x00007fb231dd3d00> >target = '1 /1\n' >ts = [TokenInfo(type=2 (NUMBER), string='1', start=(1, 0), end=(1, 1), line='1 / 1\n'), > TokenInfo(type=55 (OP), string='/', start=(1, 2), end=(1, 3), line='1 / 1\n'), > TokenInfo(type=2 (NUMBER), string='1', start=(1, 4), end=(1, 5), line='1 / 1\n'), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 5), end=(1, 6), line='1 / 1\n'), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >______________________ UnitTests.test_fix_file_with_diff _______________________ > >self = <test.test_autopep8.UnitTests testMethod=test_fix_file_with_diff> > > def test_fix_file_with_diff(self): > filename = os.path.join(ROOT_DIR, 'test', 'example.py') > > self.assertIn( > '@@', >> autopep8.fix_file( > filename=filename, > options=autopep8.parse_args(['--diff', filename]))) > >filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2/test/example.py' >self = <test.test_autopep8.UnitTests testMethod=test_fix_file_with_diff> > >test/test_autopep8.py:288: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > encoding = 'utf-8' > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2/test/example.py' > fixed_source = ['import sys, os\n', > '\n', > 'def foo():\n', > ' import subprocess, argparse\n', > ' import copy; import math, email\n', > '\n', > '\n', > 'print(1) \n', > 'print(2) # e261\n', > 'd = {1: 2,# e261\n', > ' 3: 4}\n', > 'print(2) ## e262\n', > 'print(2) #### e262\n', > 'print(2) #e262\n', > 'print(2) # e262\n', > '1 /1\n', > '1 *2\n', > '1 +1\n', > '1 -1\n', > '1 **2\n', > '\n', > '\n', > 'def dummy1 ( a ):\n', > ' print(a) \n', > ' print(a)\n', > '\n', > '\n', > 'def dummy2(a) :\n', > ' if 1 in a:\n', > ' print("a")\n', > ' print(1+1) # e225\n', > ' print(1 +1) # e225\n', > ' print(1+ 1) # e225\n', > '\n', > '\n', > ' print(1 +1) # e221+e225\n', > ' print(1 + 1) # e221\n', > ' print(1 * 1) # e221\n', > ' print(1 + 1) # e222\n', > ' print(1 * 1) # e222\n', > ' print(a)\n', > '\n', > '\n', > 'def func1():\n', > ' print("A")\n', > ' \n', > ' return 0\n', > '\n', > '\n', > '\n', > 'def func11():\n', > ' a = (1,2, 3,"a")\n', > ' b = [1, 2, 3,"b"]\n', > ' c = 0,11/2\n', > ' return 1\n', > '\n', > '\n', > '\n', > '\n', > '# comment after too empty lines\n', > 'def func2():\n', > ' pass\n', > 'def func22():\n', > ' pass;\n', > '\n', > '\n', > 'def func_oneline(): print(1)\n', > '\n', > 'def func_last():\n', > ' if True: print(1)\n', > ' pass\n', > '\n', > '\n', > 'def func_e251(a, b=1, c = 3):\n', > ' pass\n', > '\n', > '\n', > 'def func_e251_t(a, b=1, c = 3, d = 4):\n', > ' pass\n', > '\n', > '\n', > '# e201\n', > '( 1)\n', > '[ 1]\n', > '{ 1: 2}\n', > '\n', > '# e202\n', > '(1 )\n', > '[1 ]\n', > '{1: 2 }\n', > '\n', > '# e203\n', > '{4 : 2}\n', > '[4 , 2]\n', > '\n', > '# e211\n', > 'd = [1]\n', > 'd \t [0]\n', > 'dummy1 \t (0)\n', > '\n', > '\n', > 'def func_e702():\n', > ' 4; 1;\n', > ' 4; 1;\t \n', > ' 4; 1;\n', > '\n', > ' 4; 1;\n', > ' print(2); print(4); 6;8\n', > ' if True:\n', > ' 1; 2; 3\n', > '0; 1\n', > '2;3\n', > '4; 5;\n', > '\n', > '\n', > 'def func_w602():\n', > ' raise ValueError, "w602 test"\n', > ' raise ValueError, "w602 test" # my comment\n', > '\n', > ' raise ValueError\n', > ' raise ValueError # comment\n', > '\n', > " raise ValueError, 'arg' ; print(1)\n", > " raise ValueError, 'arg' ; print(2) # my comment\n", > '\n', > ' raise ValueError, \\\n', > " 'arg no comment'\n", > ' raise ValueError, \\\n', > " 'arg' # my comment\n", > ' raise ValueError, \\\n', > ' """arg""" # my comment\n', > ' raise ValueError, \\\n', > ' """arg\n', > '\n', > ' """ # my comment\n', > ' raise ValueError, \\\n', > " '''multiline\n", > '\n', > "''' # my comment\n", > '\n', > " a = 'a'\n", > ' raise ValueError, "%s" % (a,)\n', > '\n', > " raise 'string'\n", > '\n', > '\n', > 'def func_w603():\n', > ' if 1 <> 2:\n', > ' if 2 <> 2:\n', > ' print(True)\n', > ' else:\n', > ' print(False)\n', > '\n', > '\n', > 'def func_w604():\n', > ' a = 1.1\n', > ' b = ```a```\n', > '\n', > 'def func_e101():\n', > "\tprint('abc')\n", > '\tif True:\n', > "\t print('hello')\n", > '\n', > "if __name__ == '__main__': func_last()\n", > ' \n'] > options = Namespace(verbose=0, diff=True, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2/test/example.py']) > original_source = ['import sys, os\n', > '\n', > 'def foo():\n', > ' import subprocess, argparse\n', > ' import copy; import math, email\n', > '\n', > '\n', > 'print(1) \n', > 'print(2) # e261\n', > 'd = {1: 2,# e261\n', > ' 3: 4}\n', > 'print(2) ## e262\n', > 'print(2) #### e262\n', > 'print(2) #e262\n', > 'print(2) # e262\n', > '1 /1\n', > '1 *2\n', > '1 +1\n', > '1 -1\n', > '1 **2\n', > '\n', > '\n', > 'def dummy1 ( a ):\n', > ' print(a) \n', > ' print(a)\n', > '\n', > '\n', > 'def dummy2(a) :\n', > ' if 1 in a:\n', > ' print("a")\n', > ' print(1+1) # e225\n', > ' print(1 +1) # e225\n', > ' print(1+ 1) # e225\n', > '\n', > '\n', > ' print(1 +1) # e221+e225\n', > ' print(1 + 1) # e221\n', > ' print(1 * 1) # e221\n', > ' print(1 + 1) # e222\n', > ' print(1 * 1) # e222\n', > ' print(a)\n', > '\n', > '\n', > 'def func1():\n', > ' print("A")\n', > ' \n', > ' return 0\n', > '\n', > '\n', > '\n', > 'def func11():\n', > ' a = (1,2, 3,"a")\n', > ' b = [1, 2, 3,"b"]\n', > ' c = 0,11/2\n', > ' return 1\n', > '\n', > '\n', > '\n', > '\n', > '# comment after too empty lines\n', > 'def func2():\n', > ' pass\n', > 'def func22():\n', > ' pass;\n', > '\n', > '\n', > 'def func_oneline(): print(1)\n', > '\n', > 'def func_last():\n', > ' if True: print(1)\n', > ' pass\n', > '\n', > '\n', > 'def func_e251(a, b=1, c = 3):\n', > ' pass\n', > '\n', > '\n', > 'def func_e251_t(a, b=1, c = 3, d = 4):\n', > ' pass\n', > '\n', > '\n', > '# e201\n', > '( 1)\n', > '[ 1]\n', > '{ 1: 2}\n', > '\n', > '# e202\n', > '(1 )\n', > '[1 ]\n', > '{1: 2 }\n', > '\n', > '# e203\n', > '{4 : 2}\n', > '[4 , 2]\n', > '\n', > '# e211\n', > 'd = [1]\n', > 'd \t [0]\n', > 'dummy1 \t (0)\n', > '\n', > '\n', > 'def func_e702():\n', > ' 4; 1;\n', > ' 4; 1;\t \n', > ' 4; 1;\n', > '\n', > ' 4; 1;\n', > ' print(2); print(4); 6;8\n', > ' if True:\n', > ' 1; 2; 3\n', > '0; 1\n', > '2;3\n', > '4; 5;\n', > '\n', > '\n', > 'def func_w602():\n', > ' raise ValueError, "w602 test"\n', > ' raise ValueError, "w602 test" # my comment\n', > '\n', > ' raise ValueError\n', > ' raise ValueError # comment\n', > '\n', > " raise ValueError, 'arg' ; print(1)\n", > " raise ValueError, 'arg' ; print(2) # my comment\n", > '\n', > ' raise ValueError, \\\n', > " 'arg no comment'\n", > ' raise ValueError, \\\n', > " 'arg' # my comment\n", > ' raise ValueError, \\\n', > ' """arg""" # my comment\n', > ' raise ValueError, \\\n', > ' """arg\n', > '\n', > ' """ # my comment\n', > ' raise ValueError, \\\n', > " '''multiline\n", > '\n', > "''' # my comment\n", > '\n', > " a = 'a'\n", > ' raise ValueError, "%s" % (a,)\n', > '\n', > " raise 'string'\n", > '\n', > '\n', > 'def func_w603():\n', > ' if 1 <> 2:\n', > ' if 2 <> 2:\n', > ' print(True)\n', > ' else:\n', > ' print(False)\n', > '\n', > '\n', > 'def func_w604():\n', > ' a = 1.1\n', > ' b = ```a```\n', > '\n', > 'def func_e101():\n', > "\tprint('abc')\n", > '\tif True:\n', > "\t print('hello')\n", > '\n', > "if __name__ == '__main__': func_last()\n", > ' \n'] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2/test/example.py' > fix = <autopep8.FixPEP8 object at 0x00007fb231cf0100> > fixed_source = ('import sys, os\n' > '\n' > 'def foo():\n' > ' import subprocess, argparse\n' > ' import copy; import math, email\n' > '\n' > '\n' > 'print(1) \n' > 'print(2) # e261\n' > 'd = {1: 2,# e261\n' > ' 3: 4}\n' > 'print(2) ## e262\n' > 'print(2) #### e262\n' > 'print(2) #e262\n' > 'print(2) # e262\n' > '1 /1\n' > '1 *2\n' > '1 +1\n' > '1 -1\n' > '1 **2\n' > '\n' > '\n' > 'def dummy1 ( a ):\n' > ' print(a) \n' > ' print(a)\n' > '\n' > '\n' > 'def dummy2(a) :\n' > ' if 1 in a:\n' > ' print("a")\n' > ' print(1+1) # e225\n' > ' print(1 +1) # e225\n' > ' print(1+ 1) # e225\n' > '\n' > '\n' > ' print(1 +1) # e221+e225\n' > ' print(1 + 1) # e221\n' > ' print(1 * 1) # e221\n' > ' print(1 + 1) # e222\n' > ' print(1 * 1) # e222\n' > ' print(a)\n' > '\n' > '\n' > 'def func1():\n' > ' print("A")\n' > '\n' > ' return 0\n' > '\n' > '\n' > '\n' > 'def func11():\n' > ' a = (1,2, 3,"a")\n' > ' b = [1, 2, 3,"b"]\n' > ' c = 0,11/2\n' > ' return 1\n' > '\n' > '\n' > '\n' > '\n' > '# comment after too empty lines\n' > 'def func2():\n' > ' pass\n' > 'def func22():\n' > ' pass;\n' > '\n' > '\n' > 'def func_oneline(): print(1)\n' > '\n' > 'def func_last():\n' > ' if True: print(1)\n' > ' pass\n' > '\n' > '\n' > 'def func_e251(a, b=1, c = 3):\n' > ' pass\n' > '\n' > '\n' > 'def func_e251_t(a, b=1, c = 3, d = 4):\n' > ' pass\n' > '\n' > '\n' > '# e201\n' > '( 1)\n' > '[ 1]\n' > '{ 1: 2}\n' > '\n' > '# e202\n' > '(1 )\n' > '[1 ]\n' > '{1: 2 }\n' > '\n' > '# e203\n' > '{4 : 2}\n' > '[4 , 2]\n' > '\n' > '# e211\n' > 'd = [1]\n' > 'd \t [0]\n' > 'dummy1 \t (0)\n' > '\n' > '\n' > 'def func_e702():\n' > ' 4; 1;\n' > ' 4; 1;\t \n' > ' 4; 1;\n' > '\n' > ' 4; 1;\n' > ' print(2); print(4); 6;8\n' > ' if True:\n' > ' 1; 2; 3\n' > '0; 1\n' > '2;3\n' > '4; 5;\n' > '\n' > '\n' > 'def func_w602():\n' > ' raise ValueError, "w602 test"\n' > ' raise ValueError, "w602 test" # my comment\n' > '\n' > ' raise ValueError\n' > ' raise ValueError # comment\n' > '\n' > " raise ValueError, 'arg' ; print(1)\n" > " raise ValueError, 'arg' ; print(2) # my comment\n" > '\n' > ' raise ValueError, \\\n' > " 'arg no comment'\n" > ' raise ValueError, \\\n' > " 'arg' # my comment\n" > ' raise ValueError, \\\n' > ' """arg""" # my comment\n' > ' raise ValueError, \\\n' > ' """arg\n' > '\n' > ' """ # my comment\n' > ' raise ValueError, \\\n' > " '''multiline\n" > '\n' > "''' # my comment\n" > '\n' > " a = 'a'\n" > ' raise ValueError, "%s" % (a,)\n' > '\n' > " raise 'string'\n" > '\n' > '\n' > 'def func_w603():\n' > ' if 1 <> 2:\n' > ' if 2 <> 2:\n' > ' print(True)\n' > ' else:\n' > ' print(False)\n' > '\n' > '\n' > 'def func_w604():\n' > ' a = 1.1\n' > ' b = ```a```\n' > '\n' > 'def func_e101():\n' > " print('abc')\n" > ' if True:\n' > " print('hello')\n" > '\n' > "if __name__ == '__main__': func_last()\n" > '\n') > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=True, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2/test/example.py']) > original_newline = '\n' > passes = 1 > previous_hashes = {-7771305529317490046} > source_lines = ['import sys, os\n', > '\n', > 'def foo():\n', > ' import subprocess, argparse\n', > ' import copy; import math, email\n', > '\n', > '\n', > 'print(1) \n', > 'print(2) # e261\n', > 'd = {1: 2,# e261\n', > ' 3: 4}\n', > 'print(2) ## e262\n', > 'print(2) #### e262\n', > 'print(2) #e262\n', > 'print(2) # e262\n', > '1 /1\n', > '1 *2\n', > '1 +1\n', > '1 -1\n', > '1 **2\n', > '\n', > '\n', > 'def dummy1 ( a ):\n', > ' print(a) \n', > ' print(a)\n', > '\n', > '\n', > 'def dummy2(a) :\n', > ' if 1 in a:\n', > ' print("a")\n', > ' print(1+1) # e225\n', > ' print(1 +1) # e225\n', > ' print(1+ 1) # e225\n', > '\n', > '\n', > ' print(1 +1) # e221+e225\n', > ' print(1 + 1) # e221\n', > ' print(1 * 1) # e221\n', > ' print(1 + 1) # e222\n', > ' print(1 * 1) # e222\n', > ' print(a)\n', > '\n', > '\n', > 'def func1():\n', > ' print("A")\n', > ' \n', > ' return 0\n', > '\n', > '\n', > '\n', > 'def func11():\n', > ' a = (1,2, 3,"a")\n', > ' b = [1, 2, 3,"b"]\n', > ' c = 0,11/2\n', > ' return 1\n', > '\n', > '\n', > '\n', > '\n', > '# comment after too empty lines\n', > 'def func2():\n', > ' pass\n', > 'def func22():\n', > ' pass;\n', > '\n', > '\n', > 'def func_oneline(): print(1)\n', > '\n', > 'def func_last():\n', > ' if True: print(1)\n', > ' pass\n', > '\n', > '\n', > 'def func_e251(a, b=1, c = 3):\n', > ' pass\n', > '\n', > '\n', > 'def func_e251_t(a, b=1, c = 3, d = 4):\n', > ' pass\n', > '\n', > '\n', > '# e201\n', > '( 1)\n', > '[ 1]\n', > '{ 1: 2}\n', > '\n', > '# e202\n', > '(1 )\n', > '[1 ]\n', > '{1: 2 }\n', > '\n', > '# e203\n', > '{4 : 2}\n', > '[4 , 2]\n', > '\n', > '# e211\n', > 'd = [1]\n', > 'd \t [0]\n', > 'dummy1 \t (0)\n', > '\n', > '\n', > 'def func_e702():\n', > ' 4; 1;\n', > ' 4; 1;\t \n', > ' 4; 1;\n', > '\n', > ' 4; 1;\n', > ' print(2); print(4); 6;8\n', > ' if True:\n', > ' 1; 2; 3\n', > '0; 1\n', > '2;3\n', > '4; 5;\n', > '\n', > '\n', > 'def func_w602():\n', > ' raise ValueError, "w602 test"\n', > ' raise ValueError, "w602 test" # my comment\n', > '\n', > ' raise ValueError\n', > ' raise ValueError # comment\n', > '\n', > " raise ValueError, 'arg' ; print(1)\n", > " raise ValueError, 'arg' ; print(2) # my comment\n", > '\n', > ' raise ValueError, \\\n', > " 'arg no comment'\n", > ' raise ValueError, \\\n', > " 'arg' # my comment\n", > ' raise ValueError, \\\n', > ' """arg""" # my comment\n', > ' raise ValueError, \\\n', > ' """arg\n', > '\n', > ' """ # my comment\n', > ' raise ValueError, \\\n', > " '''multiline\n", > '\n', > "''' # my comment\n", > '\n', > " a = 'a'\n", > ' raise ValueError, "%s" % (a,)\n', > '\n', > " raise 'string'\n", > '\n', > '\n', > 'def func_w603():\n', > ' if 1 <> 2:\n', > ' if 2 <> 2:\n', > ' print(True)\n', > ' else:\n', > ' print(False)\n', > '\n', > '\n', > 'def func_w604():\n', > ' a = 1.1\n', > ' b = ```a```\n', > '\n', > 'def func_e101():\n', > "\tprint('abc')\n", > '\tif True:\n', > "\t print('hello')\n", > '\n', > "if __name__ == '__main__': func_last()\n", > ' \n'] > tmp_source = ('import sys, os\n' > '\n' > 'def foo():\n' > ' import subprocess, argparse\n' > ' import copy; import math, email\n' > '\n' > '\n' > 'print(1) \n' > 'print(2) # e261\n' > 'd = {1: 2,# e261\n' > ' 3: 4}\n' > 'print(2) ## e262\n' > 'print(2) #### e262\n' > 'print(2) #e262\n' > 'print(2) # e262\n' > '1 /1\n' > '1 *2\n' > '1 +1\n' > '1 -1\n' > '1 **2\n' > '\n' > '\n' > 'def dummy1 ( a ):\n' > ' print(a) \n' > ' print(a)\n' > '\n' > '\n' > 'def dummy2(a) :\n' > ' if 1 in a:\n' > ' print("a")\n' > ' print(1+1) # e225\n' > ' print(1 +1) # e225\n' > ' print(1+ 1) # e225\n' > '\n' > '\n' > ' print(1 +1) # e221+e225\n' > ' print(1 + 1) # e221\n' > ' print(1 * 1) # e221\n' > ' print(1 + 1) # e222\n' > ' print(1 * 1) # e222\n' > ' print(a)\n' > '\n' > '\n' > 'def func1():\n' > ' print("A")\n' > '\n' > ' return 0\n' > '\n' > '\n' > '\n' > 'def func11():\n' > ' a = (1,2, 3,"a")\n' > ' b = [1, 2, 3,"b"]\n' > ' c = 0,11/2\n' > ' return 1\n' > '\n' > '\n' > '\n' > '\n' > '# comment after too empty lines\n' > 'def func2():\n' > ' pass\n' > 'def func22():\n' > ' pass;\n' > '\n' > '\n' > 'def func_oneline(): print(1)\n' > '\n' > 'def func_last():\n' > ' if True: print(1)\n' > ' pass\n' > '\n' > '\n' > 'def func_e251(a, b=1, c = 3):\n' > ' pass\n' > '\n' > '\n' > 'def func_e251_t(a, b=1, c = 3, d = 4):\n' > ' pass\n' > '\n' > '\n' > '# e201\n' > '( 1)\n' > '[ 1]\n' > '{ 1: 2}\n' > '\n' > '# e202\n' > '(1 )\n' > '[1 ]\n' > '{1: 2 }\n' > '\n' > '# e203\n' > '{4 : 2}\n' > '[4 , 2]\n' > '\n' > '# e211\n' > 'd = [1]\n' > 'd \t [0]\n' > 'dummy1 \t (0)\n' > '\n' > '\n' > 'def func_e702():\n' > ' 4; 1;\n' > ' 4; 1;\t \n' > ' 4; 1;\n' > '\n' > ' 4; 1;\n' > ' print(2); print(4); 6;8\n' > ' if True:\n' > ' 1; 2; 3\n' > '0; 1\n' > '2;3\n' > '4; 5;\n' > '\n' > '\n' > 'def func_w602():\n' > ' raise ValueError, "w602 test"\n' > ' raise ValueError, "w602 test" # my comment\n' > '\n' > ' raise ValueError\n' > ' raise ValueError # comment\n' > '\n' > " raise ValueError, 'arg' ; print(1)\n" > " raise ValueError, 'arg' ; print(2) # my comment\n" > '\n' > ' raise ValueError, \\\n' > " 'arg no comment'\n" > ' raise ValueError, \\\n' > " 'arg' # my comment\n" > ' raise ValueError, \\\n' > ' """arg""" # my comment\n' > ' raise ValueError, \\\n' > ' """arg\n' > '\n' > ' """ # my comment\n' > ' raise ValueError, \\\n' > " '''multiline\n" > '\n' > "''' # my comment\n" > '\n' > " a = 'a'\n" > ' raise ValueError, "%s" % (a,)\n' > '\n' > " raise 'string'\n" > '\n' > '\n' > 'def func_w603():\n' > ' if 1 <> 2:\n' > ' if 2 <> 2:\n' > ' print(True)\n' > ' else:\n' > ' print(False)\n' > '\n' > '\n' > 'def func_w604():\n' > ' a = 1.1\n' > ' b = ```a```\n' > '\n' > 'def func_e101():\n' > " print('abc')\n" > ' if True:\n' > " print('hello')\n" > '\n' > "if __name__ == '__main__': func_last()\n" > '\n') >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, > 'ignore': {'E226', 'E24', 'W50', 'W690'}, > 'max_line_length': 79, > 'select': ''} > results = [{'column': 11, > 'id': 'E401', > 'info': 'E401 multiple imports on one line', > 'line': 1}, > {'column': 1, > 'id': 'E302', > 'info': 'E302 expected 2 blank lines, found 1', > 'line': 3}, > {'column': 22, > 'id': 'E401', > 'info': 'E401 multiple imports on one line', > 'line': 4}, > {'column': 16, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 5}, > {'column': 9, 'id': 'W291', 'info': 'W291 trailing whitespace', 'line': 8}, > {'column': 9, > 'id': 'E261', > 'info': 'E261 at least two spaces before inline comment', > 'line': 9}, > {'column': 10, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 10}, > {'column': 11, > 'id': 'E261', > 'info': 'E261 at least two spaces before inline comment', > 'line': 10}, > {'column': 11, > 'id': 'E262', > 'info': "E262 inline comment should start with '# '", > 'line': 12}, > {'column': 11, > 'id': 'E262', > 'info': "E262 inline comment should start with '# '", > 'line': 13}, > {'column': 11, > 'id': 'E262', > 'info': "E262 inline comment should start with '# '", > 'line': 14}, > {'column': 11, > 'id': 'E262', > 'info': "E262 inline comment should start with '# '", > 'line': 15}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 16}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 17}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 18}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 19}, > {'column': 5, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 20}, > {'column': 13, 'id': 'E201', 'info': "E201 whitespace after '('", 'line': 23}, > {'column': 15, 'id': 'E202', 'info': "E202 whitespace before ')'", 'line': 23}, > {'column': 11, 'id': 'E211', 'info': "E211 whitespace before '('", 'line': 23}, > {'column': 13, 'id': 'W291', 'info': 'W291 trailing whitespace', 'line': 24}, > {'column': 14, 'id': 'E203', 'info': "E203 whitespace before ':'", 'line': 28}, > {'column': 18, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 32}, > {'column': 16, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 33}, > {'column': 9, > 'id': 'E303', > 'info': 'E303 too many blank lines (2)', > 'line': 36}, > {'column': 19, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 36}, > {'column': 16, > 'id': 'E221', > 'info': 'E221 multiple spaces before operator', > 'line': 36}, > {'column': 16, > 'id': 'E221', > 'info': 'E221 multiple spaces before operator', > 'line': 37}, > {'column': 16, > 'id': 'E221', > 'info': 'E221 multiple spaces before operator', > 'line': 38}, > {'column': 18, > 'id': 'E222', > 'info': 'E222 multiple spaces after operator', > 'line': 39}, > {'column': 18, > 'id': 'E222', > 'info': 'E222 multiple spaces after operator', > 'line': 40}, > {'column': 1, > 'id': 'E303', > 'info': 'E303 too many blank lines (3)', > 'line': 51}, > {'column': 11, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 52}, > {'column': 16, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 52}, > {'column': 17, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 53}, > {'column': 10, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 54}, > {'column': 1, > 'id': 'E303', > 'info': 'E303 too many blank lines (4)', > 'line': 60}, > {'column': 1, > 'id': 'E302', > 'info': 'E302 expected 2 blank lines, found 4', > 'line': 61}, > {'column': 1, > 'id': 'E302', > 'info': 'E302 expected 2 blank lines, found 0', > 'line': 63}, > {'column': 9, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 64}, > {'column': 9, > 'id': 'E275', > 'info': 'E275 missing whitespace after keyword', > 'line': 64}, > {'column': 1, > 'id': 'E704', > 'info': 'E704 multiple statements on one line (def)', > 'line': 67}, > {'column': 1, > 'id': 'E302', > 'info': 'E302 expected 2 blank lines, found 1', > 'line': 69}, > {'column': 12, > 'id': 'E701', > 'info': 'E701 multiple statements on one line (colon)', > 'line': 70}, > {'column': 24, > 'id': 'E251', > 'info': 'E251 unexpected spaces around keyword / parameter equals', > 'line': 74}, > {'column': 26, > 'id': 'E251', > 'info': 'E251 unexpected spaces around keyword / parameter equals', > 'line': 74}, > {'column': 26, > 'id': 'E251', > 'info': 'E251 unexpected spaces around keyword / parameter equals', > 'line': 78}, > {'column': 28, > 'id': 'E251', > 'info': 'E251 unexpected spaces around keyword / parameter equals', > 'line': 78}, > {'column': 33, > 'id': 'E251', > 'info': 'E251 unexpected spaces around keyword / parameter equals', > 'line': 78}, > {'column': 35, > 'id': 'E251', > 'info': 'E251 unexpected spaces around keyword / parameter equals', > 'line': 78}, > {'column': 2, 'id': 'E201', 'info': "E201 whitespace after '('", 'line': 83}, > {'column': 2, 'id': 'E201', 'info': "E201 whitespace after '['", 'line': 84}, > {'column': 2, 'id': 'E201', 'info': "E201 whitespace after '{'", 'line': 85}, > {'column': 10, 'id': 'E202', 'info': "E202 whitespace before ')'", 'line': 88}, > {'column': 10, 'id': 'E202', 'info': "E202 whitespace before ']'", 'line': 89}, > {'column': 10, 'id': 'E202', 'info': "E202 whitespace before '}'", 'line': 90}, > {'column': 13, 'id': 'E203', 'info': "E203 whitespace before ':'", 'line': 93}, > {'column': 13, 'id': 'E203', 'info': "E203 whitespace before ','", 'line': 94}, > {'column': 2, 'id': 'E211', 'info': "E211 whitespace before '['", 'line': 98}, > {'column': 7, 'id': 'E211', 'info': "E211 whitespace before '('", 'line': 99}, > {'column': 6, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 103}, > {'column': 9, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 103}, > {'column': 10, 'id': 'W291', 'info': 'W291 trailing whitespace', 'line': 104}, > {'column': 6, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 104}, > {'column': 9, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 104}, > {'column': 6, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 105}, > {'column': 9, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 105}, > {'column': 6, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 107}, > {'column': 9, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 107}, > {'column': 13, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 108}, > {'column': 23, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 108}, > {'column': 35, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 108}, > {'column': 35, > 'id': 'E231', > 'info': "E231 missing whitespace after ';'", > 'line': 108}, > {'column': 10, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 110}, > {'column': 13, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 110}, > {'column': 1, > 'id': 'E305', > 'info': 'E305 expected 2 blank lines after class or function definition, ' > 'found 0', > 'line': 111}, > {'column': 2, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 111}, > {'column': 2, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 112}, > {'column': 2, > 'id': 'E231', > 'info': "E231 missing whitespace after ';'", > 'line': 112}, > {'column': 2, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 113}, > {'column': 9, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 113}, > {'column': 31, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 123}, > {'column': 30, > 'id': 'E203', > 'info': "E203 whitespace before ';'", > 'line': 123}, > {'column': 31, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 124}, > {'column': 30, > 'id': 'E203', > 'info': "E203 whitespace before ';'", > 'line': 124}, > {'column': 41, > 'id': 'E261', > 'info': 'E261 at least two spaces before inline comment', > 'line': 124}, > {'column': 1, > 'id': 'E302', > 'info': 'E302 expected 2 blank lines, found 1', > 'line': 159}, > {'column': 1, > 'id': 'E305', > 'info': 'E305 expected 2 blank lines after class or function definition, ' > 'found 1', > 'line': 164}, > {'column': 26, > 'id': 'E701', > 'info': 'E701 multiple statements on one line (colon)', > 'line': 164}, > {'column': 1, > 'id': 'W391', > 'info': 'W391 blank line at end of file', > 'line': 165}] > self = <autopep8.FixPEP8 object at 0x00007fb231cf0100> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = {70, 71, 164, 165, 5, 103, 104, 105, 107, 108, 110, 111, 112, 113, 123, 124} > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x00007fb231cf0100>> > fixed_methodname = 'fix_e225' > is_logical_fix = False > line_index = 15 > logical = ((123, 4), > (123, 53), > [" raise ValueError, 'arg' ; print(2) # my comment\n"]) > logical_end = [(0, 14), > (2, 10), > (3, 31), > (4, 35), > (7, 9), > (8, 15), > (10, 10), > (11, 17), > (12, 19), > (13, 15), > (14, 20), > (15, 4), > (16, 4), > (17, 4), > (18, 4), > (19, 5), > (22, 17), > (23, 13), > (24, 12), > (27, 15), > (28, 14), > (29, 18), > (30, 27), > (31, 27), > (32, 27), > (35, 33), > (36, 29), > (37, 29), > (38, 29), > (39, 31), > (40, 12), > (43, 12), > (44, 14), > (46, 12), > (50, 13), > (51, 20), > (52, 21), > (53, 14), > (54, 12), > (60, 12), > (61, 8), > (62, 13), > (63, 9), > (66, 28), > (68, 16), > (69, 21), > (70, 8), > (73, 29), > (74, 8), > (77, 38), > (78, 8), > (82, 12), > (83, 12), > (84, 15), > (87, 11), > (88, 11), > (89, 11), > (92, 17), > (93, 17), > (96, 7), > (97, 8), > (98, 14), > (101, 16), > (102, 9), > (103, 12), > (104, 9), > (106, 9), > (107, 36), > (108, 12), > (109, 15), > (110, 4), > (111, 3), > (112, 9), > (115, 16), > (116, 33), > (117, 47), > (119, 20), > (120, 31), > (122, 40), > (123, 53), > (126, 24), > (128, 27), > (130, 31), > (134, 19), > (138, 17), > (140, 11), > (141, 33), > (143, 18), > (146, 16), > (147, 14), > (148, 18), > (149, 23), > (150, 13), > (151, 24), > (154, 16), > (155, 11), > (156, 15), > (158, 16), > (159, 16), > (160, 12), > (161, 22), > (163, 38)] > logical_start = [(0, 0), > (2, 0), > (3, 4), > (4, 4), > (7, 0), > (8, 0), > (9, 0), > (11, 0), > (12, 0), > (13, 0), > (14, 0), > (15, 0), > (16, 0), > (17, 0), > (18, 0), > (19, 0), > (22, 0), > (23, 4), > (24, 4), > (27, 0), > (28, 4), > (29, 8), > (30, 8), > (31, 8), > (32, 8), > (35, 8), > (36, 8), > (37, 8), > (38, 8), > (39, 8), > (40, 4), > (43, 0), > (44, 4), > (46, 4), > (50, 0), > (51, 4), > (52, 4), > (53, 4), > (54, 4), > (60, 0), > (61, 4), > (62, 0), > (63, 4), > (66, 0), > (68, 0), > (69, 4), > (70, 4), > (73, 0), > (74, 4), > (77, 0), > (78, 4), > (82, 0), > (83, 0), > (84, 0), > (87, 0), > (88, 0), > (89, 0), > (92, 0), > (93, 0), > (96, 0), > (97, 0), > (98, 0), > (101, 0), > (102, 4), > (103, 4), > (104, 4), > (106, 4), > (107, 4), > (108, 4), > (109, 8), > (110, 0), > (111, 0), > (112, 0), > (115, 0), > (116, 4), > (117, 4), > (119, 4), > (120, 4), > (122, 4), > (123, 4), > (125, 4), > (127, 4), > (129, 4), > (131, 4), > (135, 4), > (140, 4), > (141, 4), > (143, 4), > (146, 0), > (147, 4), > (148, 8), > (149, 12), > (150, 8), > (151, 12), > (154, 0), > (155, 4), > (156, 4), > (158, 0), > (159, 4), > (160, 4), > (161, 8), > (163, 0)] > logical_support = True > modified_lines = [124] > original_line = '1 /1\n' > result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 16} > results = <generator object filter_results at 0x00007fb230c40020> > self = <autopep8.FixPEP8 object at 0x00007fb231cf0100> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x00007fb231cf0100> >result = {'column': 4, 'id': 'E225', 'info': 'E225 missing whitespace around operator', 'line': 16} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E225' >fixed = '1 / 1\n' >offset = 3 >result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 16} >self = <autopep8.FixPEP8 object at 0x00007fb231cf0100> >target = '1 /1\n' >ts = [TokenInfo(type=2 (NUMBER), string='1', start=(1, 0), end=(1, 1), line='1 / 1\n'), > TokenInfo(type=55 (OP), string='/', start=(1, 2), end=(1, 3), line='1 / 1\n'), > TokenInfo(type=2 (NUMBER), string='1', start=(1, 4), end=(1, 5), line='1 / 1\n'), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 5), end=(1, 6), line='1 / 1\n'), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >___________________ SystemTests.test_autopep8_disable_multi ____________________ > >self = <test.test_autopep8.SystemTests testMethod=test_autopep8_disable_multi> > > def test_autopep8_disable_multi(self): > test_code = """\ > fix=1 > # autopep8: off > skip=1 > # autopep8: on > fix=2 > # autopep8: off > skip=2 > # autopep8: on > fix=3 > """ > expected_output = """\ > fix = 1 > # autopep8: off > skip=1 > # autopep8: on > fix = 2 > # autopep8: off > skip=2 > # autopep8: on > fix = 3 > """ >> with autopep8_context(test_code) as result: > >expected_output = ('fix = 1\n' > '# autopep8: off\n' > 'skip=1\n' > '# autopep8: on\n' > 'fix = 2\n' > '# autopep8: off\n' > 'skip=2\n' > '# autopep8: on\n' > 'fix = 3\n') >self = <test.test_autopep8.SystemTests testMethod=test_autopep8_disable_multi> >test_code = ('fix=1\n' > '# autopep8: off\n' > 'skip=1\n' > '# autopep8: on\n' > 'fix=2\n' > '# autopep8: off\n' > 'skip=2\n' > '# autopep8: on\n' > 'fix=3\n') > >test/test_autopep8.py:5047: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.10/contextlib.py:135: in __enter__ > return next(self.gen) > self = <contextlib._GeneratorContextManager object at 0x00007fb2333bdec0> >test/test_autopep8.py:7320: in autopep8_context > yield autopep8.fix_file(filename=filename, options=options) > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/hpdwk9s_' > line = ('fix=1\n' > '# autopep8: off\n' > 'skip=1\n' > '# autopep8: on\n' > 'fix=2\n' > '# autopep8: off\n' > 'skip=2\n' > '# autopep8: on\n' > 'fix=3\n') > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/hpdwk9s_']) >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/hpdwk9s_' > fixed_source = ['fix=1\n', > '# autopep8: off\n', > 'skip=1\n', > '# autopep8: on\n', > 'fix=2\n', > '# autopep8: off\n', > 'skip=2\n', > '# autopep8: on\n', > 'fix=3\n'] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/hpdwk9s_']) > original_source = ['fix=1\n', > '# autopep8: off\n', > 'skip=1\n', > '# autopep8: on\n', > 'fix=2\n', > '# autopep8: off\n', > 'skip=2\n', > '# autopep8: on\n', > 'fix=3\n'] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/hpdwk9s_' > fix = <autopep8.FixPEP8 object at 0x00007fb231fcf398> > fixed_source = ('fix=1\n' > '# autopep8: off\n' > 'skip=1\n' > '# autopep8: on\n' > 'fix=2\n' > '# autopep8: off\n' > 'skip=2\n' > '# autopep8: on\n' > 'fix=3\n') > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/hpdwk9s_']) > original_newline = '\n' > passes = 1 > previous_hashes = {-5724966395356810894} > source_lines = ['fix=1\n', > '# autopep8: off\n', > 'skip=1\n', > '# autopep8: on\n', > 'fix=2\n', > '# autopep8: off\n', > 'skip=2\n', > '# autopep8: on\n', > 'fix=3\n'] > tmp_source = ('fix=1\n' > '# autopep8: off\n' > 'skip=1\n' > '# autopep8: on\n' > 'fix=2\n' > '# autopep8: off\n' > 'skip=2\n' > '# autopep8: on\n' > 'fix=3\n') >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, > 'ignore': {'E226', 'E24', 'W50', 'W690'}, > 'max_line_length': 79, > 'select': ''} > results = [{'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1}, > {'column': 5, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 3}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 5}, > {'column': 5, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 7}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 9}] > self = <autopep8.FixPEP8 object at 0x00007fb231fcf398> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = set() > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x00007fb231fcf398>> > fixed_methodname = 'fix_e225' > is_logical_fix = False > line_index = 0 > logical_end = [(0, 5), (2, 6), (4, 5), (6, 6), (8, 5)] > logical_start = [(0, 0), (2, 0), (4, 0), (6, 0), (8, 0)] > logical_support = True > original_line = 'fix=1\n' > result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1} > results = <generator object filter_results at 0x00007fb232f0b6a0> > self = <autopep8.FixPEP8 object at 0x00007fb231fcf398> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x00007fb231fcf398> >result = {'column': 4, 'id': 'E225', 'info': 'E225 missing whitespace around operator', 'line': 1} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E225' >fixed = 'fix =1\n' >offset = 3 >result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1} >self = <autopep8.FixPEP8 object at 0x00007fb231fcf398> >target = 'fix=1\n' >ts = [TokenInfo(type=1 (NAME), string='fix', start=(1, 0), end=(1, 3), line='fix =1\n'), > TokenInfo(type=55 (OP), string='=', start=(1, 4), end=(1, 5), line='fix =1\n'), > TokenInfo(type=2 (NUMBER), string='1', start=(1, 5), end=(1, 6), line='fix =1\n'), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 6), end=(1, 7), line='fix =1\n'), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >__________________ SystemTests.test_e223_with_tab_indentation __________________ > >self = <test.test_autopep8.SystemTests testMethod=test_e223_with_tab_indentation> > > def test_e223_with_tab_indentation(self): > line = """\ > class Foo(): > > \tdef __init__(self): > \t\tx= 1\t+ 3 > """ > fixed = """\ > class Foo(): > > \tdef __init__(self): > \t\tx = 1 + 3 > """ >> with autopep8_context(line, options=['--ignore=E1,W191']) as result: > >fixed = 'class Foo():\n\n\tdef __init__(self):\n\t\tx = 1 + 3\n' >line = 'class Foo():\n\n\tdef __init__(self):\n\t\tx= 1\t+ 3\n' >self = <test.test_autopep8.SystemTests testMethod=test_e223_with_tab_indentation> > >test/test_autopep8.py:1982: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.10/contextlib.py:135: in __enter__ > return next(self.gen) > self = <contextlib._GeneratorContextManager object at 0x00007fb2306e4f00> >test/test_autopep8.py:7320: in autopep8_context > yield autopep8.fix_file(filename=filename, options=options) > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/fzm4mhx3' > line = 'class Foo():\n\n\tdef __init__(self):\n\t\tx= 1\t+ 3\n' > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E1', 'W191', 'W503', 'W504'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/fzm4mhx3']) >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/fzm4mhx3' > fixed_source = ['class Foo():\n', '\n', '\tdef __init__(self):\n', '\t\tx= 1\t+ 3\n'] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E1', 'W191', 'W503', 'W504'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/fzm4mhx3']) > original_source = ['class Foo():\n', '\n', '\tdef __init__(self):\n', '\t\tx= 1\t+ 3\n'] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/fzm4mhx3' > fix = <autopep8.FixPEP8 object at 0x00007fb2306f0330> > fixed_source = 'class Foo():\n\n\tdef __init__(self):\n\t\tx= 1\t+ 3\n' > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E1', 'W191', 'W503', 'W504'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/fzm4mhx3']) > original_newline = '\n' > passes = 1 > previous_hashes = {4678340368261586978} > source_lines = ['class Foo():\n', '\n', '\tdef __init__(self):\n', '\t\tx= 1\t+ 3\n'] > tmp_source = 'class Foo():\n\n\tdef __init__(self):\n\t\tx= 1\t+ 3\n' >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, > 'ignore': {'E1', 'W191', 'W503', 'W504'}, > 'max_line_length': 79, > 'select': ''} > results = [{'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 4}, > {'column': 7, 'id': 'E223', 'info': 'E223 tab before operator', 'line': 4}] > self = <autopep8.FixPEP8 object at 0x00007fb2306f0330> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = set() > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x00007fb2306f0330>> > fixed_methodname = 'fix_e225' > is_logical_fix = False > line_index = 3 > logical_end = [(0, 12), (2, 20), (3, 10)] > logical_start = [(0, 0), (2, 1), (3, 2)] > logical_support = True > original_line = '\t\tx= 1\t+ 3\n' > result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 4} > results = <generator object filter_results at 0x00007fb2330cc820> > self = <autopep8.FixPEP8 object at 0x00007fb2306f0330> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x00007fb2306f0330> >result = {'column': 4, 'id': 'E225', 'info': 'E225 missing whitespace around operator', 'line': 4} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E225' >fixed = '\t\tx = 1\t+ 3\n' >offset = 3 >result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 4} >self = <autopep8.FixPEP8 object at 0x00007fb2306f0330> >target = '\t\tx= 1\t+ 3\n' >ts = [TokenInfo(type=5 (INDENT), string='\t\t', start=(1, 0), end=(1, 2), line='\t\tx = 1\t+ 3\n'), > TokenInfo(type=1 (NAME), string='x', start=(1, 2), end=(1, 3), line='\t\tx = 1\t+ 3\n'), > TokenInfo(type=55 (OP), string='=', start=(1, 4), end=(1, 5), line='\t\tx = 1\t+ 3\n'), > TokenInfo(type=2 (NUMBER), string='1', start=(1, 6), end=(1, 7), line='\t\tx = 1\t+ 3\n'), > TokenInfo(type=55 (OP), string='+', start=(1, 8), end=(1, 9), line='\t\tx = 1\t+ 3\n'), > TokenInfo(type=2 (NUMBER), string='3', start=(1, 10), end=(1, 11), line='\t\tx = 1\t+ 3\n'), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 11), end=(1, 12), line='\t\tx = 1\t+ 3\n'), > TokenInfo(type=6 (DEDENT), string='', start=(2, 0), end=(2, 0), line=''), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >__________________ SystemTests.test_e224_with_tab_indentation __________________ > >self = <test.test_autopep8.SystemTests testMethod=test_e224_with_tab_indentation> > > def test_e224_with_tab_indentation(self): > line = """\ > class Foo(): > > \tdef __init__(self): > \t\tx= \t3 > """ > fixed = """\ > class Foo(): > > \tdef __init__(self): > \t\tx = 3 > """ >> with autopep8_context(line, options=['--ignore=E1,W191']) as result: > >fixed = 'class Foo():\n\n\tdef __init__(self):\n\t\tx = 3\n' >line = 'class Foo():\n\n\tdef __init__(self):\n\t\tx= \t3\n' >self = <test.test_autopep8.SystemTests testMethod=test_e224_with_tab_indentation> > >test/test_autopep8.py:2010: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.10/contextlib.py:135: in __enter__ > return next(self.gen) > self = <contextlib._GeneratorContextManager object at 0x00007fb23194af38> >test/test_autopep8.py:7320: in autopep8_context > yield autopep8.fix_file(filename=filename, options=options) > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/5n101mqc' > line = 'class Foo():\n\n\tdef __init__(self):\n\t\tx= \t3\n' > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E1', 'W191', 'W503', 'W504'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/5n101mqc']) >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/5n101mqc' > fixed_source = ['class Foo():\n', '\n', '\tdef __init__(self):\n', '\t\tx= \t3\n'] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E1', 'W191', 'W503', 'W504'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/5n101mqc']) > original_source = ['class Foo():\n', '\n', '\tdef __init__(self):\n', '\t\tx= \t3\n'] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/5n101mqc' > fix = <autopep8.FixPEP8 object at 0x00007fb231fcf6a8> > fixed_source = 'class Foo():\n\n\tdef __init__(self):\n\t\tx= \t3\n' > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E1', 'W191', 'W503', 'W504'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/5n101mqc']) > original_newline = '\n' > passes = 1 > previous_hashes = {188614386425267301} > source_lines = ['class Foo():\n', '\n', '\tdef __init__(self):\n', '\t\tx= \t3\n'] > tmp_source = 'class Foo():\n\n\tdef __init__(self):\n\t\tx= \t3\n' >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, > 'ignore': {'E1', 'W191', 'W503', 'W504'}, > 'max_line_length': 79, > 'select': ''} > results = [{'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 4}, > {'column': 5, 'id': 'E224', 'info': 'E224 tab after operator', 'line': 4}] > self = <autopep8.FixPEP8 object at 0x00007fb231fcf6a8> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = set() > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x00007fb231fcf6a8>> > fixed_methodname = 'fix_e225' > is_logical_fix = False > line_index = 3 > logical_end = [(0, 12), (2, 20), (3, 7)] > logical_start = [(0, 0), (2, 1), (3, 2)] > logical_support = True > original_line = '\t\tx= \t3\n' > result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 4} > results = <generator object filter_results at 0x0000559b0894b9e0> > self = <autopep8.FixPEP8 object at 0x00007fb231fcf6a8> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x00007fb231fcf6a8> >result = {'column': 4, 'id': 'E225', 'info': 'E225 missing whitespace around operator', 'line': 4} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E225' >fixed = '\t\tx = \t3\n' >offset = 3 >result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 4} >self = <autopep8.FixPEP8 object at 0x00007fb231fcf6a8> >target = '\t\tx= \t3\n' >ts = [TokenInfo(type=5 (INDENT), string='\t\t', start=(1, 0), end=(1, 2), line='\t\tx = \t3\n'), > TokenInfo(type=1 (NAME), string='x', start=(1, 2), end=(1, 3), line='\t\tx = \t3\n'), > TokenInfo(type=55 (OP), string='=', start=(1, 4), end=(1, 5), line='\t\tx = \t3\n'), > TokenInfo(type=2 (NUMBER), string='3', start=(1, 7), end=(1, 8), line='\t\tx = \t3\n'), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 8), end=(1, 9), line='\t\tx = \t3\n'), > TokenInfo(type=6 (DEDENT), string='', start=(2, 0), end=(2, 0), line=''), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >____________________________ SystemTests.test_e225 _____________________________ > >self = <test.test_autopep8.SystemTests testMethod=test_e225> > > def test_e225(self): > line = '1+1\n2 +2\n3+ 3\n' > fixed = '1 + 1\n2 + 2\n3 + 3\n' >> with autopep8_context(line, options=['--select=E,W']) as result: > >fixed = '1 + 1\n2 + 2\n3 + 3\n' >line = '1+1\n2 +2\n3+ 3\n' >self = <test.test_autopep8.SystemTests testMethod=test_e225> > >test/test_autopep8.py:2016: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.10/contextlib.py:135: in __enter__ > return next(self.gen) > self = <contextlib._GeneratorContextManager object at 0x0000559b07404058> >test/test_autopep8.py:7320: in autopep8_context > yield autopep8.fix_file(filename=filename, options=options) > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/2txckd_h' > line = '1+1\n2 +2\n3+ 3\n' > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore='', select={'E', 'W1', 'W2', 'W3', 'W503', 'W505', 'W6'}, max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/2txckd_h']) >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/2txckd_h' > fixed_source = ['1+1\n', '2 +2\n', '3+ 3\n'] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore='', select={'E', 'W1', 'W2', 'W3', 'W503', 'W505', 'W6'}, max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/2txckd_h']) > original_source = ['1+1\n', '2 +2\n', '3+ 3\n'] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/2txckd_h' > fix = <autopep8.FixPEP8 object at 0x0000559b0743e800> > fixed_source = '1+1\n2 +2\n3+ 3\n' > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore='', select={'E', 'W1', 'W2', 'W3', 'W503', 'W505', 'W6'}, max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/2txckd_h']) > original_newline = '\n' > passes = 1 > previous_hashes = {3802034920410741333} > source_lines = ['1+1\n', '2 +2\n', '3+ 3\n'] > tmp_source = '1+1\n2 +2\n3+ 3\n' >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, > 'ignore': '', > 'max_line_length': 79, > 'select': {'E', 'W1', 'W2', 'W3', 'W503', 'W505', 'W6'}} > results = [{'column': 2, > 'id': 'E226', > 'info': 'E226 missing whitespace around arithmetic operator', > 'line': 1}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 2}, > {'column': 2, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 3}] > self = <autopep8.FixPEP8 object at 0x0000559b0743e800> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = set() > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x0000559b0743e800>> > fixed_methodname = 'fix_e225' > is_logical_fix = False > line_index = 1 > logical_end = [(0, 3), (1, 4), (2, 4)] > logical_start = [(0, 0), (1, 0), (2, 0)] > logical_support = True > original_line = '2 +2\n' > result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 2} > results = <generator object filter_results at 0x00007fb232c35d60> > self = <autopep8.FixPEP8 object at 0x0000559b0743e800> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x0000559b0743e800> >result = {'column': 4, 'id': 'E225', 'info': 'E225 missing whitespace around operator', 'line': 2} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E225' >fixed = '2 + 2\n' >offset = 3 >result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 2} >self = <autopep8.FixPEP8 object at 0x0000559b0743e800> >target = '2 +2\n' >ts = [TokenInfo(type=2 (NUMBER), string='2', start=(1, 0), end=(1, 1), line='2 + 2\n'), > TokenInfo(type=55 (OP), string='+', start=(1, 2), end=(1, 3), line='2 + 2\n'), > TokenInfo(type=2 (NUMBER), string='2', start=(1, 4), end=(1, 5), line='2 + 2\n'), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 5), end=(1, 6), line='2 + 2\n'), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >____________________________ SystemTests.test_e226 _____________________________ > >self = <test.test_autopep8.SystemTests testMethod=test_e226> > > def test_e226(self): > line = '1*1\n2*2\n3*3\n' > fixed = '1 * 1\n2 * 2\n3 * 3\n' >> with autopep8_context(line, options=['--select=E22']) as result: > >fixed = '1 * 1\n2 * 2\n3 * 3\n' >line = '1*1\n2*2\n3*3\n' >self = <test.test_autopep8.SystemTests testMethod=test_e226> > >test/test_autopep8.py:2038: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.10/contextlib.py:135: in __enter__ > return next(self.gen) > self = <contextlib._GeneratorContextManager object at 0x0000559b0772a330> >test/test_autopep8.py:7320: in autopep8_context > yield autopep8.fix_file(filename=filename, options=options) > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/ks6domw8' > line = '1*1\n2*2\n3*3\n' > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore='', select={'E22'}, max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/ks6domw8']) >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/ks6domw8' > fixed_source = ['1*1\n', '2*2\n', '3*3\n'] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore='', select={'E22'}, max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/ks6domw8']) > original_source = ['1*1\n', '2*2\n', '3*3\n'] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/ks6domw8' > fix = <autopep8.FixPEP8 object at 0x00007fb231958870> > fixed_source = '1*1\n2*2\n3*3\n' > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore='', select={'E22'}, max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/ks6domw8']) > original_newline = '\n' > passes = 1 > previous_hashes = {-4962941309983318210} > source_lines = ['1*1\n', '2*2\n', '3*3\n'] > tmp_source = '1*1\n2*2\n3*3\n' >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, 'ignore': '', 'max_line_length': 79, 'select': {'E22'}} > results = [{'column': 2, > 'id': 'E226', > 'info': 'E226 missing whitespace around arithmetic operator', > 'line': 1}, > {'column': 2, > 'id': 'E226', > 'info': 'E226 missing whitespace around arithmetic operator', > 'line': 2}, > {'column': 2, > 'id': 'E226', > 'info': 'E226 missing whitespace around arithmetic operator', > 'line': 3}] > self = <autopep8.FixPEP8 object at 0x00007fb231958870> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = set() > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x00007fb231958870>> > fixed_methodname = 'fix_e226' > is_logical_fix = False > line_index = 0 > logical_end = [(0, 3), (1, 3), (2, 3)] > logical_start = [(0, 0), (1, 0), (2, 0)] > logical_support = True > original_line = '1*1\n' > result = {'column': 2, > 'id': 'E226', > 'info': 'E226 missing whitespace around arithmetic operator', > 'line': 1} > results = <generator object filter_results at 0x00007fb23389cee0> > self = <autopep8.FixPEP8 object at 0x00007fb231958870> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x00007fb231958870> >result = {'column': 2, 'id': 'E226', 'info': 'E226 missing whitespace around arithmetic operator', 'line': 1} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E226' >fixed = '1 *1\n' >offset = 1 >result = {'column': 2, > 'id': 'E226', > 'info': 'E226 missing whitespace around arithmetic operator', > 'line': 1} >self = <autopep8.FixPEP8 object at 0x00007fb231958870> >target = '1*1\n' >ts = [TokenInfo(type=2 (NUMBER), string='1', start=(1, 0), end=(1, 1), line='1 *1\n'), > TokenInfo(type=55 (OP), string='*', start=(1, 2), end=(1, 3), line='1 *1\n'), > TokenInfo(type=2 (NUMBER), string='1', start=(1, 3), end=(1, 4), line='1 *1\n'), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 4), end=(1, 5), line='1 *1\n'), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >____________________________ SystemTests.test_e227 _____________________________ > >self = <test.test_autopep8.SystemTests testMethod=test_e227> > > def test_e227(self): > line = '1&1\n2&2\n3&3\n' > fixed = '1 & 1\n2 & 2\n3 & 3\n' >> with autopep8_context(line, options=['--select=E22']) as result: > >fixed = '1 & 1\n2 & 2\n3 & 3\n' >line = '1&1\n2&2\n3&3\n' >self = <test.test_autopep8.SystemTests testMethod=test_e227> > >test/test_autopep8.py:2044: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.10/contextlib.py:135: in __enter__ > return next(self.gen) > self = <contextlib._GeneratorContextManager object at 0x00007fb231fa6800> >test/test_autopep8.py:7320: in autopep8_context > yield autopep8.fix_file(filename=filename, options=options) > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/agnxntue' > line = '1&1\n2&2\n3&3\n' > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore='', select={'E22'}, max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/agnxntue']) >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/agnxntue' > fixed_source = ['1&1\n', '2&2\n', '3&3\n'] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore='', select={'E22'}, max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/agnxntue']) > original_source = ['1&1\n', '2&2\n', '3&3\n'] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/agnxntue' > fix = <autopep8.FixPEP8 object at 0x00007fb231fa6de8> > fixed_source = '1&1\n2&2\n3&3\n' > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore='', select={'E22'}, max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/agnxntue']) > original_newline = '\n' > passes = 1 > previous_hashes = {-8322297631702192773} > source_lines = ['1&1\n', '2&2\n', '3&3\n'] > tmp_source = '1&1\n2&2\n3&3\n' >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, 'ignore': '', 'max_line_length': 79, 'select': {'E22'}} > results = [{'column': 2, > 'id': 'E227', > 'info': 'E227 missing whitespace around bitwise or shift operator', > 'line': 1}, > {'column': 2, > 'id': 'E227', > 'info': 'E227 missing whitespace around bitwise or shift operator', > 'line': 2}, > {'column': 2, > 'id': 'E227', > 'info': 'E227 missing whitespace around bitwise or shift operator', > 'line': 3}] > self = <autopep8.FixPEP8 object at 0x00007fb231fa6de8> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = set() > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x00007fb231fa6de8>> > fixed_methodname = 'fix_e227' > is_logical_fix = False > line_index = 0 > logical_end = [(0, 3), (1, 3), (2, 3)] > logical_start = [(0, 0), (1, 0), (2, 0)] > logical_support = True > original_line = '1&1\n' > result = {'column': 2, > 'id': 'E227', > 'info': 'E227 missing whitespace around bitwise or shift operator', > 'line': 1} > results = <generator object filter_results at 0x00007fb233438d60> > self = <autopep8.FixPEP8 object at 0x00007fb231fa6de8> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x00007fb231fa6de8> >result = {'column': 2, 'id': 'E227', 'info': 'E227 missing whitespace around bitwise or shift operator', 'line': 1} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E227' >fixed = '1 &1\n' >offset = 1 >result = {'column': 2, > 'id': 'E227', > 'info': 'E227 missing whitespace around bitwise or shift operator', > 'line': 1} >self = <autopep8.FixPEP8 object at 0x00007fb231fa6de8> >target = '1&1\n' >ts = [TokenInfo(type=2 (NUMBER), string='1', start=(1, 0), end=(1, 1), line='1 &1\n'), > TokenInfo(type=55 (OP), string='&', start=(1, 2), end=(1, 3), line='1 &1\n'), > TokenInfo(type=2 (NUMBER), string='1', start=(1, 3), end=(1, 4), line='1 &1\n'), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 4), end=(1, 5), line='1 &1\n'), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >____________________________ SystemTests.test_e228 _____________________________ > >self = <test.test_autopep8.SystemTests testMethod=test_e228> > > def test_e228(self): > line = '1%1\n2%2\n3%3\n' > fixed = '1 % 1\n2 % 2\n3 % 3\n' >> with autopep8_context(line, options=['--select=E22']) as result: > >fixed = '1 % 1\n2 % 2\n3 % 3\n' >line = '1%1\n2%2\n3%3\n' >self = <test.test_autopep8.SystemTests testMethod=test_e228> > >test/test_autopep8.py:2050: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.10/contextlib.py:135: in __enter__ > return next(self.gen) > self = <contextlib._GeneratorContextManager object at 0x00007fb231ba9718> >test/test_autopep8.py:7320: in autopep8_context > yield autopep8.fix_file(filename=filename, options=options) > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/z9ngqxa1' > line = '1%1\n2%2\n3%3\n' > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore='', select={'E22'}, max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/z9ngqxa1']) >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/z9ngqxa1' > fixed_source = ['1%1\n', '2%2\n', '3%3\n'] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore='', select={'E22'}, max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/z9ngqxa1']) > original_source = ['1%1\n', '2%2\n', '3%3\n'] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/z9ngqxa1' > fix = <autopep8.FixPEP8 object at 0x00007fb231bc24b8> > fixed_source = '1%1\n2%2\n3%3\n' > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore='', select={'E22'}, max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/z9ngqxa1']) > original_newline = '\n' > passes = 1 > previous_hashes = {1067699648608313045} > source_lines = ['1%1\n', '2%2\n', '3%3\n'] > tmp_source = '1%1\n2%2\n3%3\n' >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, 'ignore': '', 'max_line_length': 79, 'select': {'E22'}} > results = [{'column': 2, > 'id': 'E228', > 'info': 'E228 missing whitespace around modulo operator', > 'line': 1}, > {'column': 2, > 'id': 'E228', > 'info': 'E228 missing whitespace around modulo operator', > 'line': 2}, > {'column': 2, > 'id': 'E228', > 'info': 'E228 missing whitespace around modulo operator', > 'line': 3}] > self = <autopep8.FixPEP8 object at 0x00007fb231bc24b8> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = set() > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x00007fb231bc24b8>> > fixed_methodname = 'fix_e228' > is_logical_fix = False > line_index = 0 > logical_end = [(0, 3), (1, 3), (2, 3)] > logical_start = [(0, 0), (1, 0), (2, 0)] > logical_support = True > original_line = '1%1\n' > result = {'column': 2, > 'id': 'E228', > 'info': 'E228 missing whitespace around modulo operator', > 'line': 1} > results = <generator object filter_results at 0x00007fb23288d720> > self = <autopep8.FixPEP8 object at 0x00007fb231bc24b8> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x00007fb231bc24b8> >result = {'column': 2, 'id': 'E228', 'info': 'E228 missing whitespace around modulo operator', 'line': 1} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E228' >fixed = '1 %1\n' >offset = 1 >result = {'column': 2, > 'id': 'E228', > 'info': 'E228 missing whitespace around modulo operator', > 'line': 1} >self = <autopep8.FixPEP8 object at 0x00007fb231bc24b8> >target = '1%1\n' >ts = [TokenInfo(type=2 (NUMBER), string='1', start=(1, 0), end=(1, 1), line='1 %1\n'), > TokenInfo(type=55 (OP), string='%', start=(1, 2), end=(1, 3), line='1 %1\n'), > TokenInfo(type=2 (NUMBER), string='1', start=(1, 3), end=(1, 4), line='1 %1\n'), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 4), end=(1, 5), line='1 %1\n'), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >__________ SystemTests.test_e501_avoid_breaking_at_multi_level_slice ___________ > >self = <test.test_autopep8.SystemTests testMethod=test_e501_avoid_breaking_at_multi_level_slice> > > def test_e501_avoid_breaking_at_multi_level_slice(self): > """Prevents line break on slice notation, dict access in this example: > > GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'][ > 'def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME) > > """ > line = """\ > GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME) > """ > fixed = """\ > GYakymOSMc = GYakymOSMW(GYakymOSMJ, GYakymOSMA, GYakymOSMr, > GYakymOSMw['abc']['def'], GYakymOSMU, GYakymOSMq, GYakymOSMH, GYakymOSMl, svygreNveyvarf=GYakymOSME) > """ >> with autopep8_context(line) as result: > >fixed = ('GYakymOSMc = GYakymOSMW(GYakymOSMJ, GYakymOSMA, GYakymOSMr,\n' > " GYakymOSMw['abc']['def'], GYakymOSMU, GYakymOSMq, " > 'GYakymOSMH, GYakymOSMl, svygreNveyvarf=GYakymOSME)\n') >line = "GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n" >self = <test.test_autopep8.SystemTests testMethod=test_e501_avoid_breaking_at_multi_level_slice> > >test/test_autopep8.py:3906: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.10/contextlib.py:135: in __enter__ > return next(self.gen) > self = <contextlib._GeneratorContextManager object at 0x00007fb2324c2db0> >test/test_autopep8.py:7320: in autopep8_context > yield autopep8.fix_file(filename=filename, options=options) > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/ip9ea8o4' > line = "GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n" > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/ip9ea8o4']) >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/ip9ea8o4' > fixed_source = ["GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/ip9ea8o4']) > original_source = ["GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/ip9ea8o4' > fix = <autopep8.FixPEP8 object at 0x00007fb2324ade88> > fixed_source = "GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n" > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/ip9ea8o4']) > original_newline = '\n' > passes = 1 > previous_hashes = {-7978054277338889440} > source_lines = ["GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"] > tmp_source = "GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n" >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, > 'ignore': {'E226', 'E24', 'W50', 'W690'}, > 'max_line_length': 79, > 'select': ''} > results = [{'column': 80, > 'id': 'E501', > 'info': 'E501 line too long (150 > 79 characters)', > 'line': 1}, > {'column': 11, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1}, > {'column': 33, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 1}, > {'column': 44, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 1}, > {'column': 55, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 1}, > {'column': 80, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 1}, > {'column': 91, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 1}, > {'column': 102, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 1}, > {'column': 113, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 1}, > {'column': 124, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 1}] > self = <autopep8.FixPEP8 object at 0x00007fb2324ade88> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = set() > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x00007fb2324ade88>> > fixed_methodname = 'fix_e225' > is_logical_fix = False > line_index = 0 > logical_end = [(0, 150)] > logical_start = [(0, 0)] > logical_support = True > original_line = "GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n" > result = {'column': 11, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1} > results = <generator object filter_results at 0x00007fb2310c5ba0> > self = <autopep8.FixPEP8 object at 0x00007fb2324ade88> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x00007fb2324ade88> >result = {'column': 11, 'id': 'E225', 'info': 'E225 missing whitespace around operator', 'line': 1} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E225' >fixed = ('GYakymOSMc ' > "=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n") >offset = 10 >result = {'column': 11, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1} >self = <autopep8.FixPEP8 object at 0x00007fb2324ade88> >target = "GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n" >ts = [TokenInfo(type=1 (NAME), string='GYakymOSMc', start=(1, 0), end=(1, 10), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string='=', start=(1, 11), end=(1, 12), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMW', start=(1, 12), end=(1, 22), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string='(', start=(1, 22), end=(1, 23), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMJ', start=(1, 23), end=(1, 33), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 33), end=(1, 34), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMA', start=(1, 34), end=(1, 44), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 44), end=(1, 45), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMr', start=(1, 45), end=(1, 55), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 55), end=(1, 56), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMw', start=(1, 56), end=(1, 66), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string='[', start=(1, 66), end=(1, 67), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=3 (STRING), string="'abc'", start=(1, 67), end=(1, 72), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=']', start=(1, 72), end=(1, 73), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string='[', start=(1, 73), end=(1, 74), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=3 (STRING), string="'def'", start=(1, 74), end=(1, 79), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=']', start=(1, 79), end=(1, 80), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 80), end=(1, 81), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMU', start=(1, 81), end=(1, 91), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 91), end=(1, 92), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMq', start=(1, 92), end=(1, 102), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 102), end=(1, 103), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMH', start=(1, 103), end=(1, 113), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 113), end=(1, 114), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMl', start=(1, 114), end=(1, 124), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 124), end=(1, 125), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='svygreNveyvarf', start=(1, 125), end=(1, 139), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string='=', start=(1, 139), end=(1, 140), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSME', start=(1, 140), end=(1, 150), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=')', start=(1, 150), end=(1, 151), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 151), end=(1, 152), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc']['def'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >____________ SystemTests.test_e501_avoid_breaking_at_opening_slice _____________ > >self = <test.test_autopep8.SystemTests testMethod=test_e501_avoid_breaking_at_opening_slice> > > def test_e501_avoid_breaking_at_opening_slice(self): > """Prevents line break on slice notation, dict access in this example: > > GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw[ > 'abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME) > > """ > line = """\ > GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME) > """ > fixed = """\ > GYakymOSMc = GYakymOSMW(GYakymOSMJ, GYakymOSMA, GYakymOSMr, > GYakymOSMw['abc'], GYakymOSMU, GYakymOSMq, GYakymOSMH, GYakymOSMl, svygreNveyvarf=GYakymOSME) > """ >> with autopep8_context(line) as result: > >fixed = ('GYakymOSMc = GYakymOSMW(GYakymOSMJ, GYakymOSMA, GYakymOSMr,\n' > " GYakymOSMw['abc'], GYakymOSMU, GYakymOSMq, " > 'GYakymOSMH, GYakymOSMl, svygreNveyvarf=GYakymOSME)\n') >line = "GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n" >self = <test.test_autopep8.SystemTests testMethod=test_e501_avoid_breaking_at_opening_slice> > >test/test_autopep8.py:3889: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.10/contextlib.py:135: in __enter__ > return next(self.gen) > self = <contextlib._GeneratorContextManager object at 0x00007fb230c6e950> >test/test_autopep8.py:7320: in autopep8_context > yield autopep8.fix_file(filename=filename, options=options) > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/qnrvibls' > line = "GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n" > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/qnrvibls']) >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/qnrvibls' > fixed_source = ["GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/qnrvibls']) > original_source = ["GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/qnrvibls' > fix = <autopep8.FixPEP8 object at 0x00007fb230cdb1a0> > fixed_source = "GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n" > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/qnrvibls']) > original_newline = '\n' > passes = 1 > previous_hashes = {-5162154234089174845} > source_lines = ["GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"] > tmp_source = "GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n" >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, > 'ignore': {'E226', 'E24', 'W50', 'W690'}, > 'max_line_length': 79, > 'select': ''} > results = [{'column': 80, > 'id': 'E501', > 'info': 'E501 line too long (143 > 79 characters)', > 'line': 1}, > {'column': 11, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1}, > {'column': 33, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 1}, > {'column': 44, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 1}, > {'column': 55, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 1}, > {'column': 73, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 1}, > {'column': 84, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 1}, > {'column': 95, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 1}, > {'column': 106, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 1}, > {'column': 117, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 1}] > self = <autopep8.FixPEP8 object at 0x00007fb230cdb1a0> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = set() > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x00007fb230cdb1a0>> > fixed_methodname = 'fix_e225' > is_logical_fix = False > line_index = 0 > logical_end = [(0, 143)] > logical_start = [(0, 0)] > logical_support = True > original_line = "GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n" > result = {'column': 11, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1} > results = <generator object filter_results at 0x0000559b08543ea0> > self = <autopep8.FixPEP8 object at 0x00007fb230cdb1a0> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x00007fb230cdb1a0> >result = {'column': 11, 'id': 'E225', 'info': 'E225 missing whitespace around operator', 'line': 1} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E225' >fixed = ('GYakymOSMc ' > "=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n") >offset = 10 >result = {'column': 11, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1} >self = <autopep8.FixPEP8 object at 0x00007fb230cdb1a0> >target = "GYakymOSMc=GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n" >ts = [TokenInfo(type=1 (NAME), string='GYakymOSMc', start=(1, 0), end=(1, 10), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string='=', start=(1, 11), end=(1, 12), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMW', start=(1, 12), end=(1, 22), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string='(', start=(1, 22), end=(1, 23), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMJ', start=(1, 23), end=(1, 33), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 33), end=(1, 34), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMA', start=(1, 34), end=(1, 44), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 44), end=(1, 45), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMr', start=(1, 45), end=(1, 55), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 55), end=(1, 56), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMw', start=(1, 56), end=(1, 66), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string='[', start=(1, 66), end=(1, 67), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=3 (STRING), string="'abc'", start=(1, 67), end=(1, 72), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=']', start=(1, 72), end=(1, 73), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 73), end=(1, 74), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMU', start=(1, 74), end=(1, 84), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 84), end=(1, 85), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMq', start=(1, 85), end=(1, 95), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 95), end=(1, 96), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMH', start=(1, 96), end=(1, 106), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 106), end=(1, 107), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSMl', start=(1, 107), end=(1, 117), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 117), end=(1, 118), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='svygreNveyvarf', start=(1, 118), end=(1, 132), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string='=', start=(1, 132), end=(1, 133), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=1 (NAME), string='GYakymOSME', start=(1, 133), end=(1, 143), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=55 (OP), string=')', start=(1, 143), end=(1, 144), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 144), end=(1, 145), line="GYakymOSMc =GYakymOSMW(GYakymOSMJ,GYakymOSMA,GYakymOSMr,GYakymOSMw['abc'],GYakymOSMU,GYakymOSMq,GYakymOSMH,GYakymOSMl,svygreNveyvarf=GYakymOSME)\n"), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >____________________ SystemTests.test_e702_more_complicated ____________________ > >self = <test.test_autopep8.SystemTests testMethod=test_e702_more_complicated> > > def test_e702_more_complicated(self): > line = """\ > def foo(): > if bar : bar+=1; bar=bar*bar ; return bar > """ > fixed = """\ > def foo(): > if bar: > bar += 1 > bar = bar * bar > return bar > """ >> with autopep8_context(line, options=['--select=E,W']) as result: > >fixed = ('def foo():\n' > ' if bar:\n' > ' bar += 1\n' > ' bar = bar * bar\n' > ' return bar\n') >line = 'def foo():\n if bar : bar+=1; bar=bar*bar ; return bar\n' >self = <test.test_autopep8.SystemTests testMethod=test_e702_more_complicated> > >test/test_autopep8.py:4025: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.10/contextlib.py:135: in __enter__ > return next(self.gen) > self = <contextlib._GeneratorContextManager object at 0x00007fb2328ff750> >test/test_autopep8.py:7320: in autopep8_context > yield autopep8.fix_file(filename=filename, options=options) > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/wfmrf3eg' > line = 'def foo():\n if bar : bar+=1; bar=bar*bar ; return bar\n' > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore='', select={'E', 'W1', 'W2', 'W3', 'W503', 'W505', 'W6'}, max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/wfmrf3eg']) >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/wfmrf3eg' > fixed_source = ['def foo():\n', ' if bar : bar+=1; bar=bar*bar ; return bar\n'] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore='', select={'E', 'W1', 'W2', 'W3', 'W503', 'W505', 'W6'}, max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/wfmrf3eg']) > original_source = ['def foo():\n', ' if bar : bar+=1; bar=bar*bar ; return bar\n'] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/wfmrf3eg' > fix = <autopep8.FixPEP8 object at 0x00007fb2314892b8> > fixed_source = 'def foo():\n if bar:\n bar+=1\n bar=bar*bar ; return bar\n' > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore='', select={'E', 'W1', 'W2', 'W3', 'W503', 'W505', 'W6'}, max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/wfmrf3eg']) > original_newline = '\n' > passes = 3 > previous_hashes = {-9129124416721216831, -589663867026619780, 6991045096757651965} > source_lines = ['def foo():\n', ' if bar : bar+=1; bar=bar*bar ; return bar\n'] > tmp_source = 'def foo():\n if bar:\n bar+=1\n bar=bar*bar ; return bar\n' >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, > 'ignore': '', > 'max_line_length': 79, > 'select': {'E', 'W1', 'W2', 'W3', 'W503', 'W505', 'W6'}} > results = [{'column': 12, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 3}, > {'column': 23, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 4}, > {'column': 22, 'id': 'E203', 'info': "E203 whitespace before ';'", 'line': 4}, > {'column': 12, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 4}, > {'column': 16, > 'id': 'E226', > 'info': 'E226 missing whitespace around arithmetic operator', > 'line': 4}] > self = <autopep8.FixPEP8 object at 0x00007fb2314892b8> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = {4} > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x00007fb2314892b8>> > fixed_methodname = 'fix_e225' > is_logical_fix = False > line_index = 2 > logical = ((3, 8), (3, 34), [' bar=bar*bar ; return bar\n']) > logical_end = [(0, 10), (1, 11), (2, 14), (3, 34)] > logical_start = [(0, 0), (1, 4), (2, 8), (3, 8)] > logical_support = True > modified_lines = [4] > original_line = ' bar+=1\n' > result = {'column': 12, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 3} > results = <generator object filter_results at 0x00007fb231760760> > self = <autopep8.FixPEP8 object at 0x00007fb2314892b8> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x00007fb2314892b8> >result = {'column': 12, 'id': 'E225', 'info': 'E225 missing whitespace around operator', 'line': 3} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E225' >fixed = ' bar +=1\n' >offset = 11 >result = {'column': 12, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 3} >self = <autopep8.FixPEP8 object at 0x00007fb2314892b8> >target = ' bar+=1\n' >ts = [TokenInfo(type=5 (INDENT), string=' ', start=(1, 0), end=(1, 8), line=' bar +=1\n'), > TokenInfo(type=1 (NAME), string='bar', start=(1, 8), end=(1, 11), line=' bar +=1\n'), > TokenInfo(type=55 (OP), string='+=', start=(1, 12), end=(1, 14), line=' bar +=1\n'), > TokenInfo(type=2 (NUMBER), string='1', start=(1, 14), end=(1, 15), line=' bar +=1\n'), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 15), end=(1, 16), line=' bar +=1\n'), > TokenInfo(type=6 (DEDENT), string='', start=(2, 0), end=(2, 0), line=''), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >_______________ SystemTests.test_fmt_multi_disable_and_reenable ________________ > >self = <test.test_autopep8.SystemTests testMethod=test_fmt_multi_disable_and_reenable> > > def test_fmt_multi_disable_and_reenable(self): > test_code = """\ > fix=1 > # fmt: off > skip=1 > # fmt: on > fix=2 > # fmt: off > skip=2 > # fmt: on > fix=3 > """ > expected_output = """\ > fix = 1 > # fmt: off > skip=1 > # fmt: on > fix = 2 > # fmt: off > skip=2 > # fmt: on > fix = 3 > """ >> with autopep8_context(test_code) as result: > >expected_output = ('fix = 1\n' > '# fmt: off\n' > 'skip=1\n' > '# fmt: on\n' > 'fix = 2\n' > '# fmt: off\n' > 'skip=2\n' > '# fmt: on\n' > 'fix = 3\n') >self = <test.test_autopep8.SystemTests testMethod=test_fmt_multi_disable_and_reenable> >test_code = ('fix=1\n' > '# fmt: off\n' > 'skip=1\n' > '# fmt: on\n' > 'fix=2\n' > '# fmt: off\n' > 'skip=2\n' > '# fmt: on\n' > 'fix=3\n') > >test/test_autopep8.py:5147: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.10/contextlib.py:135: in __enter__ > return next(self.gen) > self = <contextlib._GeneratorContextManager object at 0x0000559b095de7c8> >test/test_autopep8.py:7320: in autopep8_context > yield autopep8.fix_file(filename=filename, options=options) > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/yvwyj5rd' > line = ('fix=1\n' > '# fmt: off\n' > 'skip=1\n' > '# fmt: on\n' > 'fix=2\n' > '# fmt: off\n' > 'skip=2\n' > '# fmt: on\n' > 'fix=3\n') > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/yvwyj5rd']) >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/yvwyj5rd' > fixed_source = ['fix=1\n', > '# fmt: off\n', > 'skip=1\n', > '# fmt: on\n', > 'fix=2\n', > '# fmt: off\n', > 'skip=2\n', > '# fmt: on\n', > 'fix=3\n'] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/yvwyj5rd']) > original_source = ['fix=1\n', > '# fmt: off\n', > 'skip=1\n', > '# fmt: on\n', > 'fix=2\n', > '# fmt: off\n', > 'skip=2\n', > '# fmt: on\n', > 'fix=3\n'] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/yvwyj5rd' > fix = <autopep8.FixPEP8 object at 0x0000559b0959ca30> > fixed_source = ('fix=1\n' > '# fmt: off\n' > 'skip=1\n' > '# fmt: on\n' > 'fix=2\n' > '# fmt: off\n' > 'skip=2\n' > '# fmt: on\n' > 'fix=3\n') > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/yvwyj5rd']) > original_newline = '\n' > passes = 1 > previous_hashes = {-511123072962067436} > source_lines = ['fix=1\n', > '# fmt: off\n', > 'skip=1\n', > '# fmt: on\n', > 'fix=2\n', > '# fmt: off\n', > 'skip=2\n', > '# fmt: on\n', > 'fix=3\n'] > tmp_source = ('fix=1\n' > '# fmt: off\n' > 'skip=1\n' > '# fmt: on\n' > 'fix=2\n' > '# fmt: off\n' > 'skip=2\n' > '# fmt: on\n' > 'fix=3\n') >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, > 'ignore': {'E226', 'E24', 'W50', 'W690'}, > 'max_line_length': 79, > 'select': ''} > results = [{'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1}, > {'column': 5, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 3}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 5}, > {'column': 5, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 7}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 9}] > self = <autopep8.FixPEP8 object at 0x0000559b0959ca30> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = set() > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x0000559b0959ca30>> > fixed_methodname = 'fix_e225' > is_logical_fix = False > line_index = 0 > logical_end = [(0, 5), (2, 6), (4, 5), (6, 6), (8, 5)] > logical_start = [(0, 0), (2, 0), (4, 0), (6, 0), (8, 0)] > logical_support = True > original_line = 'fix=1\n' > result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1} > results = <generator object filter_results at 0x0000559b0743a2a0> > self = <autopep8.FixPEP8 object at 0x0000559b0959ca30> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x0000559b0959ca30> >result = {'column': 4, 'id': 'E225', 'info': 'E225 missing whitespace around operator', 'line': 1} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E225' >fixed = 'fix =1\n' >offset = 3 >result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1} >self = <autopep8.FixPEP8 object at 0x0000559b0959ca30> >target = 'fix=1\n' >ts = [TokenInfo(type=1 (NAME), string='fix', start=(1, 0), end=(1, 3), line='fix =1\n'), > TokenInfo(type=55 (OP), string='=', start=(1, 4), end=(1, 5), line='fix =1\n'), > TokenInfo(type=2 (NUMBER), string='1', start=(1, 5), end=(1, 6), line='fix =1\n'), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 6), end=(1, 7), line='fix =1\n'), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >__________________ SystemTests.test_fmt_multi_disable_complex __________________ > >self = <test.test_autopep8.SystemTests testMethod=test_fmt_multi_disable_complex> > > def test_fmt_multi_disable_complex(self): > test_code = """\ > fix=1 > # fmt: off > skip=1 > # fmt: off > fix=2 > # fmt: off > skip=2 > # fmt: on > fix=3 > """ > expected_output = """\ > fix = 1 > # fmt: off > skip=1 > # fmt: off > fix=2 > # fmt: off > skip=2 > # fmt: on > fix = 3 > """ >> with autopep8_context(test_code) as result: > >expected_output = ('fix = 1\n' > '# fmt: off\n' > 'skip=1\n' > '# fmt: off\n' > 'fix=2\n' > '# fmt: off\n' > 'skip=2\n' > '# fmt: on\n' > 'fix = 3\n') >self = <test.test_autopep8.SystemTests testMethod=test_fmt_multi_disable_complex> >test_code = ('fix=1\n' > '# fmt: off\n' > 'skip=1\n' > '# fmt: off\n' > 'fix=2\n' > '# fmt: off\n' > 'skip=2\n' > '# fmt: on\n' > 'fix=3\n') > >test/test_autopep8.py:5173: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.10/contextlib.py:135: in __enter__ > return next(self.gen) > self = <contextlib._GeneratorContextManager object at 0x0000559b08675b78> >test/test_autopep8.py:7320: in autopep8_context > yield autopep8.fix_file(filename=filename, options=options) > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/0tqjgutf' > line = ('fix=1\n' > '# fmt: off\n' > 'skip=1\n' > '# fmt: off\n' > 'fix=2\n' > '# fmt: off\n' > 'skip=2\n' > '# fmt: on\n' > 'fix=3\n') > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/0tqjgutf']) >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/0tqjgutf' > fixed_source = ['fix=1\n', > '# fmt: off\n', > 'skip=1\n', > '# fmt: off\n', > 'fix=2\n', > '# fmt: off\n', > 'skip=2\n', > '# fmt: on\n', > 'fix=3\n'] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/0tqjgutf']) > original_source = ['fix=1\n', > '# fmt: off\n', > 'skip=1\n', > '# fmt: off\n', > 'fix=2\n', > '# fmt: off\n', > 'skip=2\n', > '# fmt: on\n', > 'fix=3\n'] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/0tqjgutf' > fix = <autopep8.FixPEP8 object at 0x0000559b0860b9b8> > fixed_source = ('fix=1\n' > '# fmt: off\n' > 'skip=1\n' > '# fmt: off\n' > 'fix=2\n' > '# fmt: off\n' > 'skip=2\n' > '# fmt: on\n' > 'fix=3\n') > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/0tqjgutf']) > original_newline = '\n' > passes = 1 > previous_hashes = {1782113681012999837} > source_lines = ['fix=1\n', > '# fmt: off\n', > 'skip=1\n', > '# fmt: off\n', > 'fix=2\n', > '# fmt: off\n', > 'skip=2\n', > '# fmt: on\n', > 'fix=3\n'] > tmp_source = ('fix=1\n' > '# fmt: off\n' > 'skip=1\n' > '# fmt: off\n' > 'fix=2\n' > '# fmt: off\n' > 'skip=2\n' > '# fmt: on\n' > 'fix=3\n') >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, > 'ignore': {'E226', 'E24', 'W50', 'W690'}, > 'max_line_length': 79, > 'select': ''} > results = [{'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1}, > {'column': 5, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 3}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 5}, > {'column': 5, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 7}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 9}] > self = <autopep8.FixPEP8 object at 0x0000559b0860b9b8> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = set() > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x0000559b0860b9b8>> > fixed_methodname = 'fix_e225' > is_logical_fix = False > line_index = 0 > logical_end = [(0, 5), (2, 6), (4, 5), (6, 6), (8, 5)] > logical_start = [(0, 0), (2, 0), (4, 0), (6, 0), (8, 0)] > logical_support = True > original_line = 'fix=1\n' > result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1} > results = <generator object filter_results at 0x00007fb23327e2e0> > self = <autopep8.FixPEP8 object at 0x0000559b0860b9b8> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x0000559b0860b9b8> >result = {'column': 4, 'id': 'E225', 'info': 'E225 missing whitespace around operator', 'line': 1} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E225' >fixed = 'fix =1\n' >offset = 3 >result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1} >self = <autopep8.FixPEP8 object at 0x0000559b0860b9b8> >target = 'fix=1\n' >ts = [TokenInfo(type=1 (NAME), string='fix', start=(1, 0), end=(1, 3), line='fix =1\n'), > TokenInfo(type=55 (OP), string='=', start=(1, 4), end=(1, 5), line='fix =1\n'), > TokenInfo(type=2 (NUMBER), string='1', start=(1, 5), end=(1, 6), line='fix =1\n'), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 6), end=(1, 7), line='fix =1\n'), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >_______________ SystemTests.test_fmt_multi_disable_complex_multi _______________ > >self = <test.test_autopep8.SystemTests testMethod=test_fmt_multi_disable_complex_multi> > > def test_fmt_multi_disable_complex_multi(self): > test_code = """\ > fix=1 > # fmt: off > skip=1 > # fmt: off > fix=2 > # fmt: on > fix=22 > # fmt: on > fix=222 > # fmt: off > skip=2 > # fmt: on > fix=3 > """ > expected_output = """\ > fix = 1 > # fmt: off > skip=1 > # fmt: off > fix=2 > # fmt: on > fix = 22 > # fmt: on > fix = 222 > # fmt: off > skip=2 > # fmt: on > fix = 3 > """ >> with autopep8_context(test_code) as result: > >expected_output = ('fix = 1\n' > '# fmt: off\n' > 'skip=1\n' > '# fmt: off\n' > 'fix=2\n' > '# fmt: on\n' > 'fix = 22\n' > '# fmt: on\n' > 'fix = 222\n' > '# fmt: off\n' > 'skip=2\n' > '# fmt: on\n' > 'fix = 3\n') >self = <test.test_autopep8.SystemTests testMethod=test_fmt_multi_disable_complex_multi> >test_code = ('fix=1\n' > '# fmt: off\n' > 'skip=1\n' > '# fmt: off\n' > 'fix=2\n' > '# fmt: on\n' > 'fix=22\n' > '# fmt: on\n' > 'fix=222\n' > '# fmt: off\n' > 'skip=2\n' > '# fmt: on\n' > 'fix=3\n') > >test/test_autopep8.py:5207: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.10/contextlib.py:135: in __enter__ > return next(self.gen) > self = <contextlib._GeneratorContextManager object at 0x00007fb231dd3638> >test/test_autopep8.py:7320: in autopep8_context > yield autopep8.fix_file(filename=filename, options=options) > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/mwrdsfq9' > line = ('fix=1\n' > '# fmt: off\n' > 'skip=1\n' > '# fmt: off\n' > 'fix=2\n' > '# fmt: on\n' > 'fix=22\n' > '# fmt: on\n' > 'fix=222\n' > '# fmt: off\n' > 'skip=2\n' > '# fmt: on\n' > 'fix=3\n') > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/mwrdsfq9']) >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/mwrdsfq9' > fixed_source = ['fix=1\n', > '# fmt: off\n', > 'skip=1\n', > '# fmt: off\n', > 'fix=2\n', > '# fmt: on\n', > 'fix=22\n', > '# fmt: on\n', > 'fix=222\n', > '# fmt: off\n', > 'skip=2\n', > '# fmt: on\n', > 'fix=3\n'] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/mwrdsfq9']) > original_source = ['fix=1\n', > '# fmt: off\n', > 'skip=1\n', > '# fmt: off\n', > 'fix=2\n', > '# fmt: on\n', > 'fix=22\n', > '# fmt: on\n', > 'fix=222\n', > '# fmt: off\n', > 'skip=2\n', > '# fmt: on\n', > 'fix=3\n'] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/mwrdsfq9' > fix = <autopep8.FixPEP8 object at 0x00007fb232269b08> > fixed_source = ('fix=1\n' > '# fmt: off\n' > 'skip=1\n' > '# fmt: off\n' > 'fix=2\n' > '# fmt: on\n' > 'fix=22\n' > '# fmt: on\n' > 'fix=222\n' > '# fmt: off\n' > 'skip=2\n' > '# fmt: on\n' > 'fix=3\n') > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/mwrdsfq9']) > original_newline = '\n' > passes = 1 > previous_hashes = {-3844356797410000849} > source_lines = ['fix=1\n', > '# fmt: off\n', > 'skip=1\n', > '# fmt: off\n', > 'fix=2\n', > '# fmt: on\n', > 'fix=22\n', > '# fmt: on\n', > 'fix=222\n', > '# fmt: off\n', > 'skip=2\n', > '# fmt: on\n', > 'fix=3\n'] > tmp_source = ('fix=1\n' > '# fmt: off\n' > 'skip=1\n' > '# fmt: off\n' > 'fix=2\n' > '# fmt: on\n' > 'fix=22\n' > '# fmt: on\n' > 'fix=222\n' > '# fmt: off\n' > 'skip=2\n' > '# fmt: on\n' > 'fix=3\n') >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, > 'ignore': {'E226', 'E24', 'W50', 'W690'}, > 'max_line_length': 79, > 'select': ''} > results = [{'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1}, > {'column': 5, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 3}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 5}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 7}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 9}, > {'column': 5, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 11}, > {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 13}] > self = <autopep8.FixPEP8 object at 0x00007fb232269b08> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = set() > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x00007fb232269b08>> > fixed_methodname = 'fix_e225' > is_logical_fix = False > line_index = 0 > logical_end = [(0, 5), (2, 6), (4, 5), (6, 6), (8, 7), (10, 6), (12, 5)] > logical_start = [(0, 0), (2, 0), (4, 0), (6, 0), (8, 0), (10, 0), (12, 0)] > logical_support = True > original_line = 'fix=1\n' > result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1} > results = <generator object filter_results at 0x0000559b0b487d60> > self = <autopep8.FixPEP8 object at 0x00007fb232269b08> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x00007fb232269b08> >result = {'column': 4, 'id': 'E225', 'info': 'E225 missing whitespace around operator', 'line': 1} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E225' >fixed = 'fix =1\n' >offset = 3 >result = {'column': 4, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 1} >self = <autopep8.FixPEP8 object at 0x00007fb232269b08> >target = 'fix=1\n' >ts = [TokenInfo(type=1 (NAME), string='fix', start=(1, 0), end=(1, 3), line='fix =1\n'), > TokenInfo(type=55 (OP), string='=', start=(1, 4), end=(1, 5), line='fix =1\n'), > TokenInfo(type=2 (NUMBER), string='1', start=(1, 5), end=(1, 6), line='fix =1\n'), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 6), end=(1, 7), line='fix =1\n'), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >_______________________ SystemTests.test_general_disable _______________________ > >self = <test.test_autopep8.SystemTests testMethod=test_general_disable> > > def test_general_disable(self): > test_code = """\ > # fmt: off > > import math, sys; > > def example1(): > # This is a long comment. This should be wrapped to fit within 72 characters. > some_tuple=( 1,2, 3,'a' ); > some_variable={'long':'Long code lines should be wrapped within 79 characters.', > 'other':[math.pi, 100,200,300,9876543210,'This is a long string that goes on'], > 'more':{'inner':'This whole logical line should be wrapped.',some_tuple:[1, > 20,300,40000,500000000,60000000000000000]}} > return (some_tuple, some_variable) > def example2(): return {'has_key() is deprecated':True}.has_key( > {'f':2}.has_key('')); > class Example3( object ): > def __init__ ( self, bar ): > # Comments should have a space after the hash. > if bar : bar+=1; bar=bar* bar ; return bar > else: > some_string = ''' > Indentation in multiline strings should not be touched. > Only actual code should be reindented. > ''' > return (sys.path, some_string) > # fmt: on > > import math, sys; > > def example1(): > # This is a long comment. This should be wrapped to fit within 72 characters. > some_tuple=( 1,2, 3,'a' ); > some_variable={'long':'Long code lines should be wrapped within 79 characters.', > 'other':[math.pi, 100,200,300,9876543210,'This is a long string that goes on'], > 'more':{'inner':'This whole logical line should be wrapped.',some_tuple:[1, > 20,300,40000,500000000,60000000000000000]}} > return (some_tuple, some_variable) > def example2(): return {'has_key() is deprecated':True}.has_key( > {'f':2}.has_key('')); > class Example3( object ): > def __init__ ( self, bar ): > # Comments should have a space after the hash. > if bar : bar+=1; bar=bar* bar ; return bar > else: > some_string = ''' > Indentation in multiline strings should not be touched. > Only actual code should be reindented. > ''' > return (sys.path, some_string) > > > """ > expected_output = """\ > # fmt: off > > import sys > import math > import math, sys; > > def example1(): > # This is a long comment. This should be wrapped to fit within 72 characters. > some_tuple=( 1,2, 3,'a' ); > some_variable={'long':'Long code lines should be wrapped within 79 characters.', > 'other':[math.pi, 100,200,300,9876543210,'This is a long string that goes on'], > 'more':{'inner':'This whole logical line should be wrapped.',some_tuple:[1, > 20,300,40000,500000000,60000000000000000]}} > return (some_tuple, some_variable) > def example2(): return {'has_key() is deprecated':True}.has_key( > {'f':2}.has_key('')); > class Example3( object ): > def __init__ ( self, bar ): > # Comments should have a space after the hash. > if bar : bar+=1; bar=bar* bar ; return bar > else: > some_string = ''' > Indentation in multiline strings should not be touched. > Only actual code should be reindented. > ''' > return (sys.path, some_string) > # fmt: on > > > def example1(): > # This is a long comment. This should be wrapped to fit within 72 characters. > some_tuple = (1, 2, 3, 'a') > some_variable = {'long': 'Long code lines should be wrapped within 79 characters.', > 'other': [math.pi, 100, 200, 300, 9876543210, 'This is a long string that goes on'], > 'more': {'inner': 'This whole logical line should be wrapped.', some_tuple: [1, > 20, 300, 40000, 500000000, 60000000000000000]}} > return (some_tuple, some_variable) > > > def example2(): return {'has_key() is deprecated': True}.has_key( > {'f': 2}.has_key('')) > > > class Example3(object): > def __init__(self, bar): > # Comments should have a space after the hash. > if bar: > bar += 1 > bar = bar * bar > return bar > else: > some_string = ''' > Indentation in multiline strings should not be touched. > Only actual code should be reindented. > ''' > return (sys.path, some_string) > """ >> with autopep8_context(test_code) as result: > >expected_output = ('# fmt: off\n' > '\n' > 'import sys\n' > 'import math\n' > 'import math, sys;\n' > '\n' > 'def example1():\n' > ' # This is a long comment. This should be wrapped to fit within 72 ' > 'characters.\n' > " some_tuple=( 1,2, 3,'a' );\n" > " some_variable={'long':'Long code lines should be wrapped within 79 " > "characters.',\n" > " 'other':[math.pi, 100,200,300,9876543210,'This is a long string that " > "goes on'],\n" > " 'more':{'inner':'This whole logical line should be " > "wrapped.',some_tuple:[1,\n" > ' 20,300,40000,500000000,60000000000000000]}}\n' > ' return (some_tuple, some_variable)\n' > "def example2(): return {'has_key() is deprecated':True}.has_key(\n" > " {'f':2}.has_key(''));\n" > 'class Example3( object ):\n' > ' def __init__ ( self, bar ):\n' > ' # Comments should have a space after the hash.\n' > ' if bar : bar+=1; bar=bar* bar ; return bar\n' > ' else:\n' > " some_string = '''\n" > ' Indentation in multiline strings should not be touched.\n' > 'Only actual code should be reindented.\n' > "'''\n" > ' return (sys.path, some_string)\n' > '# fmt: on\n' > '\n' > '\n' > 'def example1():\n' > ' # This is a long comment. This should be wrapped to fit within 72 ' > 'characters.\n' > " some_tuple = (1, 2, 3, 'a')\n" > " some_variable = {'long': 'Long code lines should be wrapped within 79 " > "characters.',\n" > " 'other': [math.pi, 100, 200, 300, 9876543210, 'This is " > "a long string that goes on'],\n" > " 'more': {'inner': 'This whole logical line should be " > "wrapped.', some_tuple: [1,\n" > ' ' > '20, 300, 40000, 500000000, 60000000000000000]}}\n' > ' return (some_tuple, some_variable)\n' > '\n' > '\n' > "def example2(): return {'has_key() is deprecated': True}.has_key(\n" > " {'f': 2}.has_key(''))\n" > '\n' > '\n' > 'class Example3(object):\n' > ' def __init__(self, bar):\n' > ' # Comments should have a space after the hash.\n' > ' if bar:\n' > ' bar += 1\n' > ' bar = bar * bar\n' > ' return bar\n' > ' else:\n' > " some_string = '''\n" > ' Indentation in multiline strings should not be touched.\n' > 'Only actual code should be reindented.\n' > "'''\n" > ' return (sys.path, some_string)\n') >self = <test.test_autopep8.SystemTests testMethod=test_general_disable> >test_code = ('# fmt: off\n' > '\n' > 'import math, sys;\n' > '\n' > 'def example1():\n' > ' # This is a long comment. This should be wrapped to fit within 72 ' > 'characters.\n' > " some_tuple=( 1,2, 3,'a' );\n" > " some_variable={'long':'Long code lines should be wrapped within 79 " > "characters.',\n" > " 'other':[math.pi, 100,200,300,9876543210,'This is a long string that " > "goes on'],\n" > " 'more':{'inner':'This whole logical line should be " > "wrapped.',some_tuple:[1,\n" > ' 20,300,40000,500000000,60000000000000000]}}\n' > ' return (some_tuple, some_variable)\n' > "def example2(): return {'has_key() is deprecated':True}.has_key(\n" > " {'f':2}.has_key(''));\n" > 'class Example3( object ):\n' > ' def __init__ ( self, bar ):\n' > ' # Comments should have a space after the hash.\n' > ' if bar : bar+=1; bar=bar* bar ; return bar\n' > ' else:\n' > " some_string = '''\n" > ' Indentation in multiline strings should not be touched.\n' > 'Only actual code should be reindented.\n' > "'''\n" > ' return (sys.path, some_string)\n' > '# fmt: on\n' > '\n' > 'import math, sys;\n' > '\n' > 'def example1():\n' > ' # This is a long comment. This should be wrapped to fit within 72 ' > 'characters.\n' > " some_tuple=( 1,2, 3,'a' );\n" > " some_variable={'long':'Long code lines should be wrapped within 79 " > "characters.',\n" > " 'other':[math.pi, 100,200,300,9876543210,'This is a long string that " > "goes on'],\n" > " 'more':{'inner':'This whole logical line should be " > "wrapped.',some_tuple:[1,\n" > ' 20,300,40000,500000000,60000000000000000]}}\n' > ' return (some_tuple, some_variable)\n' > "def example2(): return {'has_key() is deprecated':True}.has_key(\n" > " {'f':2}.has_key(''));\n" > 'class Example3( object ):\n' > ' def __init__ ( self, bar ):\n' > ' # Comments should have a space after the hash.\n' > ' if bar : bar+=1; bar=bar* bar ; return bar\n' > ' else:\n' > " some_string = '''\n" > ' Indentation in multiline strings should not be touched.\n' > 'Only actual code should be reindented.\n' > "'''\n" > ' return (sys.path, some_string)\n' > '\n' > '\n') > >test/test_autopep8.py:5321: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.10/contextlib.py:135: in __enter__ > return next(self.gen) > self = <contextlib._GeneratorContextManager object at 0x00007fb232fc74b0> >test/test_autopep8.py:7320: in autopep8_context > yield autopep8.fix_file(filename=filename, options=options) > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/io170cko' > line = ('# fmt: off\n' > '\n' > 'import math, sys;\n' > '\n' > 'def example1():\n' > ' # This is a long comment. This should be wrapped to fit within 72 ' > 'characters.\n' > " some_tuple=( 1,2, 3,'a' );\n" > " some_variable={'long':'Long code lines should be wrapped within 79 " > "characters.',\n" > " 'other':[math.pi, 100,200,300,9876543210,'This is a long string that " > "goes on'],\n" > " 'more':{'inner':'This whole logical line should be " > "wrapped.',some_tuple:[1,\n" > ' 20,300,40000,500000000,60000000000000000]}}\n' > ' return (some_tuple, some_variable)\n' > "def example2(): return {'has_key() is deprecated':True}.has_key(\n" > " {'f':2}.has_key(''));\n" > 'class Example3( object ):\n' > ' def __init__ ( self, bar ):\n' > ' # Comments should have a space after the hash.\n' > ' if bar : bar+=1; bar=bar* bar ; return bar\n' > ' else:\n' > " some_string = '''\n" > ' Indentation in multiline strings should not be touched.\n' > 'Only actual code should be reindented.\n' > "'''\n" > ' return (sys.path, some_string)\n' > '# fmt: on\n' > '\n' > 'import math, sys;\n' > '\n' > 'def example1():\n' > ' # This is a long comment. This should be wrapped to fit within 72 ' > 'characters.\n' > " some_tuple=( 1,2, 3,'a' );\n" > " some_variable={'long':'Long code lines should be wrapped within 79 " > "characters.',\n" > " 'other':[math.pi, 100,200,300,9876543210,'This is a long string that " > "goes on'],\n" > " 'more':{'inner':'This whole logical line should be " > "wrapped.',some_tuple:[1,\n" > ' 20,300,40000,500000000,60000000000000000]}}\n' > ' return (some_tuple, some_variable)\n' > "def example2(): return {'has_key() is deprecated':True}.has_key(\n" > " {'f':2}.has_key(''));\n" > 'class Example3( object ):\n' > ' def __init__ ( self, bar ):\n' > ' # Comments should have a space after the hash.\n' > ' if bar : bar+=1; bar=bar* bar ; return bar\n' > ' else:\n' > " some_string = '''\n" > ' Indentation in multiline strings should not be touched.\n' > 'Only actual code should be reindented.\n' > "'''\n" > ' return (sys.path, some_string)\n' > '\n' > '\n') > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/io170cko']) >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/io170cko' > fixed_source = ['# fmt: off\n', > '\n', > 'import math, sys;\n', > '\n', > 'def example1():\n', > ' # This is a long comment. This should be wrapped to fit within 72 ' > 'characters.\n', > " some_tuple=( 1,2, 3,'a' );\n", > " some_variable={'long':'Long code lines should be wrapped within 79 " > "characters.',\n", > " 'other':[math.pi, 100,200,300,9876543210,'This is a long string that " > "goes on'],\n", > " 'more':{'inner':'This whole logical line should be " > "wrapped.',some_tuple:[1,\n", > ' 20,300,40000,500000000,60000000000000000]}}\n', > ' return (some_tuple, some_variable)\n', > "def example2(): return {'has_key() is deprecated':True}.has_key(\n", > " {'f':2}.has_key(''));\n", > 'class Example3( object ):\n', > ' def __init__ ( self, bar ):\n', > ' # Comments should have a space after the hash.\n', > ' if bar : bar+=1; bar=bar* bar ; return bar\n', > ' else:\n', > " some_string = '''\n", > ' Indentation in multiline strings should not be ' > 'touched.\n', > 'Only actual code should be reindented.\n', > "'''\n", > ' return (sys.path, some_string)\n', > '# fmt: on\n', > '\n', > 'import math, sys;\n', > '\n', > 'def example1():\n', > ' # This is a long comment. This should be wrapped to fit within 72 ' > 'characters.\n', > " some_tuple=( 1,2, 3,'a' );\n", > " some_variable={'long':'Long code lines should be wrapped within 79 " > "characters.',\n", > " 'other':[math.pi, 100,200,300,9876543210,'This is a long string that " > "goes on'],\n", > " 'more':{'inner':'This whole logical line should be " > "wrapped.',some_tuple:[1,\n", > ' 20,300,40000,500000000,60000000000000000]}}\n', > ' return (some_tuple, some_variable)\n', > "def example2(): return {'has_key() is deprecated':True}.has_key(\n", > " {'f':2}.has_key(''));\n", > 'class Example3( object ):\n', > ' def __init__ ( self, bar ):\n', > ' # Comments should have a space after the hash.\n', > ' if bar : bar+=1; bar=bar* bar ; return bar\n', > ' else:\n', > " some_string = '''\n", > ' Indentation in multiline strings should not be ' > 'touched.\n', > 'Only actual code should be reindented.\n', > "'''\n", > ' return (sys.path, some_string)\n', > '\n', > '\n'] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/io170cko']) > original_source = ['# fmt: off\n', > '\n', > 'import math, sys;\n', > '\n', > 'def example1():\n', > ' # This is a long comment. This should be wrapped to fit within 72 ' > 'characters.\n', > " some_tuple=( 1,2, 3,'a' );\n", > " some_variable={'long':'Long code lines should be wrapped within 79 " > "characters.',\n", > " 'other':[math.pi, 100,200,300,9876543210,'This is a long string that " > "goes on'],\n", > " 'more':{'inner':'This whole logical line should be " > "wrapped.',some_tuple:[1,\n", > ' 20,300,40000,500000000,60000000000000000]}}\n', > ' return (some_tuple, some_variable)\n', > "def example2(): return {'has_key() is deprecated':True}.has_key(\n", > " {'f':2}.has_key(''));\n", > 'class Example3( object ):\n', > ' def __init__ ( self, bar ):\n', > ' # Comments should have a space after the hash.\n', > ' if bar : bar+=1; bar=bar* bar ; return bar\n', > ' else:\n', > " some_string = '''\n", > ' Indentation in multiline strings should not be ' > 'touched.\n', > 'Only actual code should be reindented.\n', > "'''\n", > ' return (sys.path, some_string)\n', > '# fmt: on\n', > '\n', > 'import math, sys;\n', > '\n', > 'def example1():\n', > ' # This is a long comment. This should be wrapped to fit within 72 ' > 'characters.\n', > " some_tuple=( 1,2, 3,'a' );\n", > " some_variable={'long':'Long code lines should be wrapped within 79 " > "characters.',\n", > " 'other':[math.pi, 100,200,300,9876543210,'This is a long string that " > "goes on'],\n", > " 'more':{'inner':'This whole logical line should be " > "wrapped.',some_tuple:[1,\n", > ' 20,300,40000,500000000,60000000000000000]}}\n', > ' return (some_tuple, some_variable)\n', > "def example2(): return {'has_key() is deprecated':True}.has_key(\n", > " {'f':2}.has_key(''));\n", > 'class Example3( object ):\n', > ' def __init__ ( self, bar ):\n', > ' # Comments should have a space after the hash.\n', > ' if bar : bar+=1; bar=bar* bar ; return bar\n', > ' else:\n', > " some_string = '''\n", > ' Indentation in multiline strings should not be ' > 'touched.\n', > 'Only actual code should be reindented.\n', > "'''\n", > ' return (sys.path, some_string)\n', > '\n', > '\n'] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/io170cko' > fix = <autopep8.FixPEP8 object at 0x00007fb2331b88e0> > fixed_source = ('# fmt: off\n' > '\n' > 'import math, sys;\n' > '\n' > 'def example1():\n' > ' # This is a long comment. This should be wrapped to fit within 72 ' > 'characters.\n' > " some_tuple=( 1,2, 3,'a' );\n" > " some_variable={'long':'Long code lines should be wrapped within 79 " > "characters.',\n" > " 'other':[math.pi, 100,200,300,9876543210,'This is a long string that " > "goes on'],\n" > " 'more':{'inner':'This whole logical line should be " > "wrapped.',some_tuple:[1,\n" > ' 20,300,40000,500000000,60000000000000000]}}\n' > ' return (some_tuple, some_variable)\n' > "def example2(): return {'has_key() is deprecated':True}.has_key(\n" > " {'f':2}.has_key(''));\n" > 'class Example3( object ):\n' > ' def __init__ ( self, bar ):\n' > ' # Comments should have a space after the hash.\n' > ' if bar : bar+=1; bar=bar* bar ; return bar\n' > ' else:\n' > " some_string = '''\n" > ' Indentation in multiline strings should not be touched.\n' > 'Only actual code should be reindented.\n' > "'''\n" > ' return (sys.path, some_string)\n' > '# fmt: on\n' > '\n' > 'import math, sys;\n' > '\n' > 'def example1():\n' > ' # This is a long comment. This should be wrapped to fit within 72 ' > 'characters.\n' > " some_tuple=( 1,2, 3,'a' );\n" > " some_variable={'long':'Long code lines should be wrapped within 79 " > "characters.',\n" > " 'other':[math.pi, 100,200,300,9876543210,'This is a long string that " > "goes on'],\n" > " 'more':{'inner':'This whole logical line should be " > "wrapped.',some_tuple:[1,\n" > ' 20,300,40000,500000000,60000000000000000]}}\n' > ' return (some_tuple, some_variable)\n' > "def example2(): return {'has_key() is deprecated':True}.has_key(\n" > " {'f':2}.has_key(''));\n" > 'class Example3( object ):\n' > ' def __init__ ( self, bar ):\n' > ' # Comments should have a space after the hash.\n' > ' if bar : bar+=1; bar=bar* bar ; return bar\n' > ' else:\n' > " some_string = '''\n" > ' Indentation in multiline strings should not be touched.\n' > 'Only actual code should be reindented.\n' > "'''\n" > ' return (sys.path, some_string)\n' > '\n' > '\n') > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=None, indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/io170cko']) > original_newline = '\n' > passes = 1 > previous_hashes = {-1162905574537740260} > source_lines = ['# fmt: off\n', > '\n', > 'import math, sys;\n', > '\n', > 'def example1():\n', > ' # This is a long comment. This should be wrapped to fit within 72 ' > 'characters.\n', > " some_tuple=( 1,2, 3,'a' );\n", > " some_variable={'long':'Long code lines should be wrapped within 79 " > "characters.',\n", > " 'other':[math.pi, 100,200,300,9876543210,'This is a long string that " > "goes on'],\n", > " 'more':{'inner':'This whole logical line should be " > "wrapped.',some_tuple:[1,\n", > ' 20,300,40000,500000000,60000000000000000]}}\n', > ' return (some_tuple, some_variable)\n', > "def example2(): return {'has_key() is deprecated':True}.has_key(\n", > " {'f':2}.has_key(''));\n", > 'class Example3( object ):\n', > ' def __init__ ( self, bar ):\n', > ' # Comments should have a space after the hash.\n', > ' if bar : bar+=1; bar=bar* bar ; return bar\n', > ' else:\n', > " some_string = '''\n", > ' Indentation in multiline strings should not be ' > 'touched.\n', > 'Only actual code should be reindented.\n', > "'''\n", > ' return (sys.path, some_string)\n', > '# fmt: on\n', > '\n', > 'import math, sys;\n', > '\n', > 'def example1():\n', > ' # This is a long comment. This should be wrapped to fit within 72 ' > 'characters.\n', > " some_tuple=( 1,2, 3,'a' );\n", > " some_variable={'long':'Long code lines should be wrapped within 79 " > "characters.',\n", > " 'other':[math.pi, 100,200,300,9876543210,'This is a long string that " > "goes on'],\n", > " 'more':{'inner':'This whole logical line should be " > "wrapped.',some_tuple:[1,\n", > ' 20,300,40000,500000000,60000000000000000]}}\n', > ' return (some_tuple, some_variable)\n', > "def example2(): return {'has_key() is deprecated':True}.has_key(\n", > " {'f':2}.has_key(''));\n", > 'class Example3( object ):\n', > ' def __init__ ( self, bar ):\n', > ' # Comments should have a space after the hash.\n', > ' if bar : bar+=1; bar=bar* bar ; return bar\n', > ' else:\n', > " some_string = '''\n", > ' Indentation in multiline strings should not be ' > 'touched.\n', > 'Only actual code should be reindented.\n', > "'''\n", > ' return (sys.path, some_string)\n', > '\n', > '\n'] > tmp_source = ('# fmt: off\n' > '\n' > 'import math, sys;\n' > '\n' > 'def example1():\n' > ' # This is a long comment. This should be wrapped to fit within 72 ' > 'characters.\n' > " some_tuple=( 1,2, 3,'a' );\n" > " some_variable={'long':'Long code lines should be wrapped within 79 " > "characters.',\n" > " 'other':[math.pi, 100,200,300,9876543210,'This is a long string that " > "goes on'],\n" > " 'more':{'inner':'This whole logical line should be " > "wrapped.',some_tuple:[1,\n" > ' 20,300,40000,500000000,60000000000000000]}}\n' > ' return (some_tuple, some_variable)\n' > "def example2(): return {'has_key() is deprecated':True}.has_key(\n" > " {'f':2}.has_key(''));\n" > 'class Example3( object ):\n' > ' def __init__ ( self, bar ):\n' > ' # Comments should have a space after the hash.\n' > ' if bar : bar+=1; bar=bar* bar ; return bar\n' > ' else:\n' > " some_string = '''\n" > ' Indentation in multiline strings should not be touched.\n' > 'Only actual code should be reindented.\n' > "'''\n" > ' return (sys.path, some_string)\n' > '# fmt: on\n' > '\n' > 'import math, sys;\n' > '\n' > 'def example1():\n' > ' # This is a long comment. This should be wrapped to fit within 72 ' > 'characters.\n' > " some_tuple=( 1,2, 3,'a' );\n" > " some_variable={'long':'Long code lines should be wrapped within 79 " > "characters.',\n" > " 'other':[math.pi, 100,200,300,9876543210,'This is a long string that " > "goes on'],\n" > " 'more':{'inner':'This whole logical line should be " > "wrapped.',some_tuple:[1,\n" > ' 20,300,40000,500000000,60000000000000000]}}\n' > ' return (some_tuple, some_variable)\n' > "def example2(): return {'has_key() is deprecated':True}.has_key(\n" > " {'f':2}.has_key(''));\n" > 'class Example3( object ):\n' > ' def __init__ ( self, bar ):\n' > ' # Comments should have a space after the hash.\n' > ' if bar : bar+=1; bar=bar* bar ; return bar\n' > ' else:\n' > " some_string = '''\n" > ' Indentation in multiline strings should not be touched.\n' > 'Only actual code should be reindented.\n' > "'''\n" > ' return (sys.path, some_string)\n' > '\n' > '\n') >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > pep8_options = {'hang_closing': False, > 'ignore': {'E226', 'E24', 'W50', 'W690'}, > 'max_line_length': 79, > 'select': ''} > results = [{'column': 17, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 3}, > {'column': 12, > 'id': 'E401', > 'info': 'E401 multiple imports on one line', > 'line': 3}, > {'column': 1, > 'id': 'E302', > 'info': 'E302 expected 2 blank lines, found 1', > 'line': 5}, > {'column': 80, > 'id': 'E501', > 'info': 'E501 line too long (81 > 79 characters)', > 'line': 6}, > {'column': 33, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 7}, > {'column': 17, 'id': 'E201', 'info': "E201 whitespace after '('", 'line': 7}, > {'column': 31, 'id': 'E202', 'info': "E202 whitespace before ')'", 'line': 7}, > {'column': 15, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 7}, > {'column': 21, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 7}, > {'column': 26, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 7}, > {'column': 80, > 'id': 'E501', > 'info': 'E501 line too long (84 > 79 characters)', > 'line': 8}, > {'column': 80, > 'id': 'E501', > 'info': 'E501 line too long (83 > 79 characters)', > 'line': 9}, > {'column': 5, 'id': 'E128', 'info': 'E128 19', 'line': 9}, > {'column': 5, 'id': 'E122', 'info': 'E122 8', 'line': 10}, > {'column': 5, 'id': 'E128', 'info': 'E128 77', 'line': 11}, > {'column': 18, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 8}, > {'column': 26, > 'id': 'E231', > 'info': "E231 missing whitespace after ':'", > 'line': 8}, > {'column': 12, > 'id': 'E231', > 'info': "E231 missing whitespace after ':'", > 'line': 9}, > {'column': 26, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 9}, > {'column': 30, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 9}, > {'column': 34, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 9}, > {'column': 45, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 9}, > {'column': 11, > 'id': 'E231', > 'info': "E231 missing whitespace after ':'", > 'line': 10}, > {'column': 20, > 'id': 'E231', > 'info': "E231 missing whitespace after ':'", > 'line': 10}, > {'column': 65, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 10}, > {'column': 76, > 'id': 'E231', > 'info': "E231 missing whitespace after ':'", > 'line': 10}, > {'column': 7, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 11}, > {'column': 11, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 11}, > {'column': 17, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 11}, > {'column': 27, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 11}, > {'column': 1, > 'id': 'E302', > 'info': 'E302 expected 2 blank lines, found 0', > 'line': 13}, > {'column': 1, > 'id': 'E704', > 'info': 'E704 multiple statements on one line (def)', > 'line': 13}, > {'column': 25, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 14}, > {'column': 50, > 'id': 'E231', > 'info': "E231 missing whitespace after ':'", > 'line': 13}, > {'column': 9, > 'id': 'E231', > 'info': "E231 missing whitespace after ':'", > 'line': 14}, > {'column': 1, > 'id': 'E302', > 'info': 'E302 expected 2 blank lines, found 0', > 'line': 15}, > {'column': 16, 'id': 'E201', 'info': "E201 whitespace after '('", 'line': 15}, > {'column': 25, 'id': 'E202', 'info': "E202 whitespace before ')'", 'line': 15}, > {'column': 22, 'id': 'E201', 'info': "E201 whitespace after '('", 'line': 16}, > {'column': 32, 'id': 'E202', 'info': "E202 whitespace before ')'", 'line': 16}, > {'column': 17, 'id': 'E211', 'info': "E211 whitespace before '('", 'line': 16}, > {'column': 5, > 'id': 'E115', > 'info': 'E115 expected an indented block (comment)', > 'line': 17}, > {'column': 12, > 'id': 'E701', > 'info': 'E701 multiple statements on one line (colon)', > 'line': 18}, > {'column': 20, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 18}, > {'column': 38, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 18}, > {'column': 11, 'id': 'E203', 'info': "E203 whitespace before ':'", 'line': 18}, > {'column': 37, 'id': 'E203', 'info': "E203 whitespace before ';'", 'line': 18}, > {'column': 5, > 'id': 'E112', > 'info': 'E112 expected an indented block', > 'line': 18}, > {'column': 17, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 18}, > {'column': 26, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 18}, > {'column': 30, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 18}, > {'column': 1, > 'id': 'E305', > 'info': 'E305 expected 2 blank lines after class or function definition, ' > 'found 1', > 'line': 27}, > {'column': 17, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 27}, > {'column': 12, > 'id': 'E401', > 'info': 'E401 multiple imports on one line', > 'line': 27}, > {'column': 1, > 'id': 'E402', > 'info': 'E402 module level import not at top of file', > 'line': 27}, > {'column': 1, > 'id': 'E302', > 'info': 'E302 expected 2 blank lines, found 1', > 'line': 29}, > {'column': 80, > 'id': 'E501', > 'info': 'E501 line too long (81 > 79 characters)', > 'line': 30}, > {'column': 33, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 31}, > {'column': 17, 'id': 'E201', 'info': "E201 whitespace after '('", 'line': 31}, > {'column': 31, 'id': 'E202', 'info': "E202 whitespace before ')'", 'line': 31}, > {'column': 15, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 31}, > {'column': 21, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 31}, > {'column': 26, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 31}, > {'column': 80, > 'id': 'E501', > 'info': 'E501 line too long (84 > 79 characters)', > 'line': 32}, > {'column': 80, > 'id': 'E501', > 'info': 'E501 line too long (83 > 79 characters)', > 'line': 33}, > {'column': 5, 'id': 'E128', 'info': 'E128 19', 'line': 33}, > {'column': 5, 'id': 'E122', 'info': 'E122 8', 'line': 34}, > {'column': 5, 'id': 'E128', 'info': 'E128 77', 'line': 35}, > {'column': 18, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 32}, > {'column': 26, > 'id': 'E231', > 'info': "E231 missing whitespace after ':'", > 'line': 32}, > {'column': 12, > 'id': 'E231', > 'info': "E231 missing whitespace after ':'", > 'line': 33}, > {'column': 26, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 33}, > {'column': 30, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 33}, > {'column': 34, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 33}, > {'column': 45, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 33}, > {'column': 11, > 'id': 'E231', > 'info': "E231 missing whitespace after ':'", > 'line': 34}, > {'column': 20, > 'id': 'E231', > 'info': "E231 missing whitespace after ':'", > 'line': 34}, > {'column': 65, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 34}, > {'column': 76, > 'id': 'E231', > 'info': "E231 missing whitespace after ':'", > 'line': 34}, > {'column': 7, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 35}, > {'column': 11, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 35}, > {'column': 17, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 35}, > {'column': 27, > 'id': 'E231', > 'info': "E231 missing whitespace after ','", > 'line': 35}, > {'column': 1, > 'id': 'E302', > 'info': 'E302 expected 2 blank lines, found 0', > 'line': 37}, > {'column': 1, > 'id': 'E704', > 'info': 'E704 multiple statements on one line (def)', > 'line': 37}, > {'column': 25, > 'id': 'E703', > 'info': 'E703 statement ends with a semicolon', > 'line': 38}, > {'column': 50, > 'id': 'E231', > 'info': "E231 missing whitespace after ':'", > 'line': 37}, > {'column': 9, > 'id': 'E231', > 'info': "E231 missing whitespace after ':'", > 'line': 38}, > {'column': 1, > 'id': 'E302', > 'info': 'E302 expected 2 blank lines, found 0', > 'line': 39}, > {'column': 16, 'id': 'E201', 'info': "E201 whitespace after '('", 'line': 39}, > {'column': 25, 'id': 'E202', 'info': "E202 whitespace before ')'", 'line': 39}, > {'column': 22, 'id': 'E201', 'info': "E201 whitespace after '('", 'line': 40}, > {'column': 32, 'id': 'E202', 'info': "E202 whitespace before ')'", 'line': 40}, > {'column': 17, 'id': 'E211', 'info': "E211 whitespace before '('", 'line': 40}, > {'column': 5, > 'id': 'E115', > 'info': 'E115 expected an indented block (comment)', > 'line': 41}, > {'column': 12, > 'id': 'E701', > 'info': 'E701 multiple statements on one line (colon)', > 'line': 42}, > {'column': 20, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 42}, > {'column': 38, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 42}, > {'column': 11, 'id': 'E203', 'info': "E203 whitespace before ':'", 'line': 42}, > {'column': 37, 'id': 'E203', 'info': "E203 whitespace before ';'", 'line': 42}, > {'column': 5, > 'id': 'E112', > 'info': 'E112 expected an indented block', > 'line': 42}, > {'column': 17, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 42}, > {'column': 26, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 42}, > {'column': 30, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 42}, > {'column': 1, > 'id': 'W391', > 'info': 'W391 blank line at end of file', > 'line': 50}] > self = <autopep8.FixPEP8 object at 0x00007fb2331b88e0> >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = {42, 43} > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x00007fb2331b88e0>> > fixed_methodname = 'fix_e225' > is_logical_fix = False > line_index = 30 > logical_end = [(2, 17), > (4, 15), > (6, 33), > (10, 47), > (11, 38), > (13, 25), > (14, 27), > (15, 34), > (17, 49), > (18, 9), > (22, 3), > (23, 38), > (26, 17), > (28, 15), > (30, 33), > (34, 47), > (35, 38), > (37, 25), > (38, 27), > (39, 34), > (41, 49), > (42, 9), > (46, 3), > (47, 38)] > logical_start = [(2, 0), > (4, 0), > (6, 4), > (7, 4), > (11, 4), > (12, 0), > (14, 0), > (15, 4), > (17, 4), > (18, 4), > (19, 8), > (23, 8), > (26, 0), > (28, 0), > (30, 4), > (31, 4), > (35, 4), > (36, 0), > (38, 0), > (39, 4), > (41, 4), > (42, 4), > (43, 8), > (47, 8)] > logical_support = True > modified_lines = [42, 43] > original_line = " some_tuple=( 1,2, 3,'a' );\n" > result = {'column': 15, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 31} > results = <generator object filter_results at 0x00007fb232e58b20> > self = <autopep8.FixPEP8 object at 0x00007fb2331b88e0> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x00007fb2331b88e0> >result = {'column': 15, 'id': 'E225', 'info': 'E225 missing whitespace around operator', 'line': 31} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E225' >fixed = " some_tuple =( 1,2, 3,'a' );\n" >offset = 14 >result = {'column': 15, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 31} >self = <autopep8.FixPEP8 object at 0x00007fb2331b88e0> >target = " some_tuple=( 1,2, 3,'a' );\n" >ts = [TokenInfo(type=5 (INDENT), string=' ', start=(1, 0), end=(1, 4), line=" some_tuple =( 1,2, 3,'a' );\n"), > TokenInfo(type=1 (NAME), string='some_tuple', start=(1, 4), end=(1, 14), line=" some_tuple =( 1,2, 3,'a' );\n"), > TokenInfo(type=55 (OP), string='=', start=(1, 15), end=(1, 16), line=" some_tuple =( 1,2, 3,'a' );\n"), > TokenInfo(type=55 (OP), string='(', start=(1, 16), end=(1, 17), line=" some_tuple =( 1,2, 3,'a' );\n"), > TokenInfo(type=2 (NUMBER), string='1', start=(1, 20), end=(1, 21), line=" some_tuple =( 1,2, 3,'a' );\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 21), end=(1, 22), line=" some_tuple =( 1,2, 3,'a' );\n"), > TokenInfo(type=2 (NUMBER), string='2', start=(1, 22), end=(1, 23), line=" some_tuple =( 1,2, 3,'a' );\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 23), end=(1, 24), line=" some_tuple =( 1,2, 3,'a' );\n"), > TokenInfo(type=2 (NUMBER), string='3', start=(1, 25), end=(1, 26), line=" some_tuple =( 1,2, 3,'a' );\n"), > TokenInfo(type=55 (OP), string=',', start=(1, 26), end=(1, 27), line=" some_tuple =( 1,2, 3,'a' );\n"), > TokenInfo(type=3 (STRING), string="'a'", start=(1, 27), end=(1, 30), line=" some_tuple =( 1,2, 3,'a' );\n"), > TokenInfo(type=55 (OP), string=')', start=(1, 32), end=(1, 33), line=" some_tuple =( 1,2, 3,'a' );\n"), > TokenInfo(type=55 (OP), string=';', start=(1, 33), end=(1, 34), line=" some_tuple =( 1,2, 3,'a' );\n"), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 34), end=(1, 35), line=" some_tuple =( 1,2, 3,'a' );\n"), > TokenInfo(type=6 (DEDENT), string='', start=(2, 0), end=(2, 0), line=''), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >___________ SystemTests.test_range_line_number_changes_from_one_line ___________ > >self = <test.test_autopep8.SystemTests testMethod=test_range_line_number_changes_from_one_line> > > def test_range_line_number_changes_from_one_line(self): > line = 'a=12\na=1; b=2;c=3\nd=4;\n\ndef f(a = 1):\n pass\n' > fixed = 'a=12\na = 1\nb = 2\nc = 3\nd=4;\n\ndef f(a = 1):\n pass\n' >> with autopep8_context(line, options=['--line-range', '2', '2']) as result: > >fixed = 'a=12\na = 1\nb = 2\nc = 3\nd=4;\n\ndef f(a = 1):\n pass\n' >line = 'a=12\na=1; b=2;c=3\nd=4;\n\ndef f(a = 1):\n pass\n' >self = <test.test_autopep8.SystemTests testMethod=test_range_line_number_changes_from_one_line> > >test/test_autopep8.py:4921: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.10/contextlib.py:135: in __enter__ > return next(self.gen) > self = <contextlib._GeneratorContextManager object at 0x00007fb2330f6c98> >test/test_autopep8.py:7320: in autopep8_context > yield autopep8.fix_file(filename=filename, options=options) > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/00e9x1ht' > line = 'a=12\na=1; b=2;c=3\nd=4;\n\ndef f(a = 1):\n pass\n' > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=[2, 3], indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/00e9x1ht']) >autopep8.py:3589: in fix_file > fixed_source = fix_lines(fixed_source, options, filename=filename) > apply_config = False > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/00e9x1ht' > fixed_source = ['a=12\n', 'a=1; b=2;c=3\n', 'd=4;\n', '\n', 'def f(a = 1):\n', ' pass\n'] > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=[2, 3], indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/00e9x1ht']) > original_source = ['a=12\n', 'a=1; b=2;c=3\n', 'd=4;\n', '\n', 'def f(a = 1):\n', ' pass\n'] > output = None >autopep8.py:3569: in fix_lines > fixed_source = fix.fix() > filename = '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/00e9x1ht' > fix = <autopep8.FixPEP8 object at 0x00007fb2311010f8> > fixed_source = 'a=12\na=1\nb=2;c=3\nd=4;\n\ndef f(a = 1):\n pass\n' > long_line_ignore_cache = set() > options = Namespace(verbose=0, diff=False, in_place=False, global_config='/var/tmp/portage/dev-python/autopep8-2.0.2/homedir/.config/pep8', ignore_local_config=False, recursive=False, jobs=1, pep8_passes=-1, aggressive=0, experimental=False, exclude={}, list_fixes=False, ignore={'E226', 'E24', 'W50', 'W690'}, select='', max_line_length=79, line_range=[2, 3], indent_size=4, hang_closing=False, exit_code=False, files=['/var/tmp/portage/dev-python/autopep8-2.0.2/temp/00e9x1ht']) > original_newline = '\n' > passes = 2 > previous_hashes = {-1790207513945166791, -2793440758840923082} > source_lines = ['a=12\n', 'a=1; b=2;c=3\n', 'd=4;\n', '\n', 'def f(a = 1):\n', ' pass\n'] > tmp_source = 'a=12\na=1\nb=2;c=3\nd=4;\n\ndef f(a = 1):\n pass\n' >autopep8.py:613: in fix > self._fix_source(filter_results(source=''.join(self.source), > end = 3 > pep8_options = {'hang_closing': False, > 'ignore': {'E226', 'E24', 'W50', 'W690'}, > 'max_line_length': 79, > 'select': ''} > results = [{'column': 2, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 2}, > {'column': 4, > 'id': 'E702', > 'info': 'E702 multiple statements on one line (semicolon)', > 'line': 3}, > {'column': 2, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 3}, > {'column': 4, > 'id': 'E231', > 'info': "E231 missing whitespace after ';'", > 'line': 3}, > {'column': 6, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 3}] > self = <autopep8.FixPEP8 object at 0x00007fb2311010f8> > start = 2 >autopep8.py:557: in _fix_source > modified_lines = fix(result) > completed_lines = {3} > fix = <bound method FixPEP8.fix_e225 of <autopep8.FixPEP8 object at 0x00007fb2311010f8>> > fixed_methodname = 'fix_e225' > is_logical_fix = False > line_index = 1 > logical = ((2, 0), (2, 7), ['b=2;c=3\n']) > logical_end = [(0, 4), (1, 3), (2, 7), (3, 4), (5, 13), (6, 8)] > logical_start = [(0, 0), (1, 0), (2, 0), (3, 0), (5, 0), (6, 4)] > logical_support = True > modified_lines = [3] > original_line = 'a=1\n' > result = {'column': 2, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 2} > results = <generator object filter_results at 0x00007fb233104da0> > self = <autopep8.FixPEP8 object at 0x00007fb2311010f8> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <autopep8.FixPEP8 object at 0x00007fb2311010f8> >result = {'column': 2, 'id': 'E225', 'info': 'E225 missing whitespace around operator', 'line': 2} > > def fix_e225(self, result): > """Fix missing whitespace around operator.""" > target = self.source[result['line'] - 1] > offset = result['column'] - 1 > fixed = target[:offset] + ' ' + target[offset:] > > # Only proceed if non-whitespace characters match. > # And make sure we don't break the indentation. > if ( > fixed.replace(' ', '') == target.replace(' ', '') and > _get_indentation(fixed) == _get_indentation(target) > ): > self.source[result['line'] - 1] = fixed > error_code = result.get('id', 0) > try: > ts = generate_tokens(fixed) > except (SyntaxError, tokenize.TokenError): > return > if not check_syntax(fixed.lstrip()): > return > errors = list( >> pycodestyle.missing_whitespace_around_operator(fixed, ts)) >E AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator' > >error_code = 'E225' >fixed = 'a =1\n' >offset = 1 >result = {'column': 2, > 'id': 'E225', > 'info': 'E225 missing whitespace around operator', > 'line': 2} >self = <autopep8.FixPEP8 object at 0x00007fb2311010f8> >target = 'a=1\n' >ts = [TokenInfo(type=1 (NAME), string='a', start=(1, 0), end=(1, 1), line='a =1\n'), > TokenInfo(type=55 (OP), string='=', start=(1, 2), end=(1, 3), line='a =1\n'), > TokenInfo(type=2 (NUMBER), string='1', start=(1, 3), end=(1, 4), line='a =1\n'), > TokenInfo(type=4 (NEWLINE), string='\n', start=(1, 4), end=(1, 5), line='a =1\n'), > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), line='')] > >autopep8.py:761: AttributeError >=============================== warnings summary =============================== >test/test_autopep8.py::UnitTests::test_detect_encoding > /var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2/autopep8.py:182: PendingDeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+ > from lib2to3.pgen2 import tokenize as lib2to3_tokenize > >-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html >=========================== short test summary info ============================ >SKIPPED [1] test/test_autopep8.py:6239: Not sure why space is not removed anymore >SKIPPED [1] test/test_autopep8.py:6885: To do >FAILED test/test_autopep8.py::UnitTests::test_fix_code_with_multiple_lines - ... >FAILED test/test_autopep8.py::UnitTests::test_fix_file - AttributeError: modu... >FAILED test/test_autopep8.py::UnitTests::test_fix_file_with_diff - AttributeE... >FAILED test/test_autopep8.py::SystemTests::test_autopep8_disable_multi - Attr... >FAILED test/test_autopep8.py::SystemTests::test_e223_with_tab_indentation - A... >FAILED test/test_autopep8.py::SystemTests::test_e224_with_tab_indentation - A... >FAILED test/test_autopep8.py::SystemTests::test_e225 - AttributeError: module... >FAILED test/test_autopep8.py::SystemTests::test_e226 - AttributeError: module... >FAILED test/test_autopep8.py::SystemTests::test_e227 - AttributeError: module... >FAILED test/test_autopep8.py::SystemTests::test_e228 - AttributeError: module... >FAILED test/test_autopep8.py::SystemTests::test_e501_avoid_breaking_at_multi_level_slice >FAILED test/test_autopep8.py::SystemTests::test_e501_avoid_breaking_at_opening_slice >FAILED test/test_autopep8.py::SystemTests::test_e702_more_complicated - Attri... >FAILED test/test_autopep8.py::SystemTests::test_fmt_multi_disable_and_reenable >FAILED test/test_autopep8.py::SystemTests::test_fmt_multi_disable_complex - A... >FAILED test/test_autopep8.py::SystemTests::test_fmt_multi_disable_complex_multi >FAILED test/test_autopep8.py::SystemTests::test_general_disable - AttributeEr... >FAILED test/test_autopep8.py::SystemTests::test_range_line_number_changes_from_one_line >============ 18 failed, 536 passed, 2 skipped, 1 warning in 30.05s ============= > * ERROR: dev-python/autopep8-2.0.2::gentoo failed (test phase): > * pytest failed with pypy3 > * > * Call stack: > * ebuild.sh, line 136: Called src_test > * environment, line 4017: Called distutils-r1_src_test > * environment, line 1951: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 746: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 3620: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 3048: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 3046: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 1175: Called distutils-r1_run_phase 'python_test' > * environment, line 1874: Called python_test > * environment, line 3904: Called epytest > * environment, line 2479: Called die > * The specific snippet of code: > * "${@}" || die -n "pytest failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=dev-python/autopep8-2.0.2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/autopep8-2.0.2::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/dev-python/autopep8-2.0.2:20230803-211531.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/autopep8-2.0.2/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2' > * S: '/var/tmp/portage/dev-python/autopep8-2.0.2/work/autopep8-2.0.2' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 911696
: 866997