Git Product home page Git Product logo

autopep8-on-pycharm's Issues

incorrect number of arguments

I've set it up according to instructions but I am getting

/Users/euphorbium/miniconda3/bin/autopep8 --in-place --aggressive
usage: autopep8 [-h] [--version] [-v] [-d] [-i] [--global-config filename]
                [--ignore-local-config] [-r] [-j n] [-p n] [-a]
                [--experimental] [--exclude globs] [--list-fixes]
                [--ignore errors] [--select errors] [--max-line-length n]
                [--line-range line line] [--hang-closing]
                [files [files ...]]
autopep8: error: incorrect number of arguments

Not working with iCloud directories, No such file or directory

I had configured as what the instruction said, and it worked normally with the files under the local directory. However, I tried to use autopep8 when I was working under iCloud directory, i.e. /Users/user/Library/Mobile Documents/com~apple~CloudDocs/, the following error occurs:

/usr/local/bin/autopep8 --in-place --aggressive --aggressive /Users/user/Library/Mobile Documents/com~apple~CloudDocs/try.py
[Errno 2] No such file or directory: '/Users/user/Library/Mobile'
[Errno 2] No such file or directory: 'Documents/com~apple~CloudDocs/try.py'

which I think the terminal misunderstood the directory, since usually a directory with spaces involved is typed as Mobile\ Documents.

Can anyone help me to solve this?

(Nevertheless, in the configuration of External Tools in Pycharm, the path is automatically set by an argument $FilePath$, which I think may be we should ask for Pycharm to modify this somehow?)

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.