Skip to content

Commit

Permalink
Merge pull request #288 from drivendata/remove-deprecation-message
Browse files Browse the repository at this point in the history
Removing deprecation message from v2
  • Loading branch information
AllenDowney committed Oct 13, 2022
2 parents d12f218 + fa6c5de commit b4c0c12
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions hooks/pre_gen_project.py
@@ -1,24 +1,4 @@
def deprecation_warning():
print(
"""
# Functions here run before the project is generated.

=============================================================================
*** DEPRECATION WARNING ***
Cookiecutter data science is moving to v2 soon, which will entail using
the command `ccds ...` rather than `cookiecutter ...`. The cookiecutter command
will continue to work, and this version of the template will still be available.
To use the legacy template, you will need to explicitly use `-c v1` to select it.
Please update any scripts/automation you have to append the `-c v1` option,
which is available now.
For example:
cookiecutter -c v1 https://github.com/drivendata/cookiecutter-data-science
=============================================================================
"""
)


deprecation_warning()
# For the use of these hooks, see
# See https://cookiecutter.readthedocs.io/en/1.7.2/advanced/hooks.html

0 comments on commit b4c0c12

Please sign in to comment.