copier-org / autopretty Goto Github PK
View Code? Open in Web Editor NEWSample Copier template to properly reformat and lint your code
License: MIT License
Sample Copier template to properly reformat and lint your code
License: MIT License
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
copier ...
Expected behavior
Successfully create template.
Screenshots/screencasts
See above code block.
Environment
Additional context
None
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.