Florian Best
Florian Best
@tobixx I don't get the option with aggressive/experimental to work: ``` >>> print autopep8.fix_code("""res = ldap_machine_read.search(base=ldap_position.getDn(),\n\tfilter=filter,\n\tattr=['cn', 'associatedDomain'])\n""", options={'aggressive': 9, 'experimental': True}) ``` produces ``` res = ldap_machine_read.search(base=ldap_position.getDn(), filter=filter, attr=['cn', 'associatedDomain'])...
Hmm, it seems pep8 detects the 3 tabs as "E126 continuation line over-indented for hanging indent". But autopep8 reformats it very very ugly (with 5 spaces instead if 3 tabs).
This could potentially also happen with sqlalchemy I guess. There you have `query.where(foo==bar)` queries.
pydocstyle and [ruff](https://github.com/charliermarsh/ruff) does D202, D204.
it works with an old version: `autopep8 0.9.1` (at least when ignoring E501,E101,W191,E126,E128) `pip install autopep8==0.9.1` See also https://github.com/hhatto/autopep8/issues/242 https://github.com/hhatto/autopep8/issues/417
@charliermarsh some off topic questions: * ruff is released once a day (if there were changes)? this is done automatically? * who are the maintainers - only you or is...
OK: I adjusted the branch to shows statistics only and not the individual errors.
please get this merged / released.
I took over the typo in the function name in 8651373ff2f3ec24ca27cebaf29641fafd6cd2b7. Only the else-removal in 4fd3ca276c52e62d05804bb3f20d949c30c323f3. Thanks.