NLeSC / python-template

Netherlands eScience Center Python Template
https://research-software-directory.org/software/nlesc-python-template
Apache License 2.0
186 stars 76 forks source link

464-Optional code of conduct #530

Closed lyashevska closed 2 months ago

lyashevska commented 2 months ago

Description

Make code of conduct optional.

Related issues:

Install the requirements

cd $(mktemp -d --tmpdir py-tmpl-XXXXXX)
pip install pipx
pipx install copier

Test 1:

Step-1: Run the command below and say 'yes' to code of conduct question.

copier copy --vcs-ref 464-codeconduct https://github.com/nlesc/python-template test_yes

Step-2: Run the command below and say 'no' to code of conduct question

copier copy --vcs-ref 464-codeconduct https://github.com/nlesc/python-template test_no

What to check: You should see the files below only when you say 'yes':