Giter VIP home page Giter VIP logo

autopretty's People

Contributors

joao-p-marques avatar yajo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

tecnativa

autopretty's Issues

bug: Code gives exception on workflows

Describe the problem

I tried following the instructions in the readme, and got the following error:

Create configurations specific to GitHub?
This includes a workflow to check code, issue and PR templates...
github? Format: bool
๐ŸŽค? [Y/n] n

    create  .flake8
    create  .copier-answers.autopretty.yml
    create  .editorconfig
    create  .prettierrc.yml
    create  .gitignore
    create  .pre-commit-config.yaml
Something went wrong. Removing destination folder.
Traceback (most recent call last):
  File "/Users/homedir/anaconda3/bin/copier", line 8, in <module>
    sys.exit(CopierApp.run())
  File "/Users/homedir/anaconda3/lib/python3.6/site-packages/plumbum/cli/application.py", line 614, in run
    inst, retcode = subapp.run(argv, exit=False)
  File "/Users/homedir/anaconda3/lib/python3.6/site-packages/plumbum/cli/application.py", line 609, in run
    retcode = inst.main(*tailargs)
  File "/Users/homedir/anaconda3/lib/python3.6/site-packages/copier/cli.py", line 38, in _wrapper
    return method(*args, **kwargs)
  File "/Users/homedir/anaconda3/lib/python3.6/site-packages/copier/cli.py", line 252, in main
    self.parent._copy(template_src, destination_path)
  File "/Users/homedir/anaconda3/lib/python3.6/site-packages/copier/cli.py", line 187, in _copy
    **kwargs,
  File "/Users/homediranaconda3/lib/python3.6/site-packages/copier/main.py", line 147, in copy
    copy_local(conf=conf)
  File "/Users/homedir/anaconda3/lib/python3.6/site-packages/copier/main.py", line 196, in copy_local
    render_folder(rel_folder, conf)
  File "/Users/homedir/anaconda3/lib/python3.6/site-packages/copier/main.py", line 371, in render_folder
    make_folder(dst_path)
  File "/Users/homedir/anaconda3/lib/python3.6/site-packages/copier/tools.py", line 91, in make_folder
    os.makedirs(str(folder))
  File "/Users/homedir/anaconda3/lib/python3.6/os.py", line 220, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/workflows'

my repo is then completely deleted. Is /workflows supposed to be ./workflows?

Template

This autopretty template

To Reproduce

  1. Run copier ...
  2. Answer ...
  3. Choose ...
  4. See error

Expected behavior

Successfully create template.

Screenshots/screencasts

See above code block.

Environment

  • OS: Mac OSX 10.14.6
  • Copier version: copier 5.1.0
  • Python version: Python 3.6.7 |Anaconda
  • Installation method: pip

Additional context

None

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.