Giter Site home page Giter Site logo

Comments (6)

dellis23 avatar dellis23 commented on August 23, 2024

Odd. My version shows I have 0.6.3 installed, but I just tried cloning from github and doing the following:

python autopep8/autopep8.py over_80_char.py

Now the output gives the following valid:

mydict['longkey']['key2'][
    'longkey3'] = 'my long string goes here that goes well past line 80'

My other issue of ignores not working seems to be solved when cloning and calling directly as well, so it seems that there is some sort of dichotomy here that has either been solved between the official release and github, or some difference between the command line version and when calling directly.

from autopep8.

dellis23 avatar dellis23 commented on August 23, 2024

Okay, trying to narrow this down further, I ran the commands from the autopep8.py file in my site-packages directory and am still getting the same issue.

from autopep8.

dellis23 avatar dellis23 commented on August 23, 2024

This appears to simply be an issue with the version in pip being broken versus the current state of the code in the repo. I'm not really familiar with how updating packages in pip works, as well as who should close an issue and when, so I will leave this open.

If anyone could enlighten me on how these two processes generally function I'd appreciate it. I'd like to contribute to open source more, and I think it would be helpful to know how these things are best done.

from autopep8.

myint avatar myint commented on August 23, 2024

I've confirm your findings about 0.6.3.

I made some stylistic improvements to the line shortening algorithm. But I don't recall fixing anything. I'll compare with 0.6.3 to see what exactly changed.

from autopep8.

myint avatar myint commented on August 23, 2024

It looks like I did fix it. The code previously didn't fully check for syntax problems before breaking the line. We need to upgrade the version on PyPi.

@hhatto, could you bump the version? Thanks.

from autopep8.

hhatto avatar hhatto commented on August 23, 2024

version 0.6.4 has been released.

from autopep8.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.