Skip to content

Commit 9fc08c9

Browse files
authored
Merge pull request #91 from jbampton/fix-typos-and-add-emoji
💄 the CircleCI config file. Fix typo. Fix case of Python.
2 parents 9c562b5 + b51c3a8 commit 9fc08c9

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.circleci/config.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ jobs:
1212
- checkout
1313

1414
- run:
15-
name: Write job name.
15+
name: ✍️ Write job name.
1616
command: echo $CIRCLE_JOB > circlejob.txt
1717

1818
- restore_cache:
1919
key: deps1-{{ .Branch }}-{{ checksum "circlejob.txt" }}-{{ checksum "tests/requirements.txt" }}-{{ checksum ".circleci/config.yml" }}
2020

2121
- run:
22-
name: Create virtualenv
22+
name: 🏗️ Create virtualenv
2323
command: |
2424
sudo pip install virtualenv
2525
python -m venv venv || virtualenv venv
2626
2727
- run:
28-
name: Install requirements
28+
name: 🏗️ Install requirements
2929
command: |
3030
. venv/bin/activate
3131
pip install -r tests/requirements.txt --quiet
@@ -36,7 +36,7 @@ jobs:
3636
- venv
3737

3838
- run:
39-
name: Generations tests
39+
name: 🧪 Generations tests
4040
command: |
4141
. venv/bin/activate
4242
pytest
@@ -58,20 +58,20 @@ jobs:
5858
- checkout
5959

6060
- run:
61-
name: Write job name.
61+
name: ✍️ Write job name.
6262
command: echo $CIRCLE_JOB > circlejob.txt
6363

6464
- restore_cache:
6565
key: deps1-{{ .Branch }}-{{ checksum "circlejob.txt" }}-{{ checksum "tests/requirements.txt" }}-{{ checksum ".circleci/config.yml" }}
6666

6767
- run:
68-
name: Create virtualenv
68+
name: 🏗️ Create virtualenv
6969
command: |
7070
sudo pip install virtualenv
7171
python -m venv venv || virtualenv venv
7272
7373
- run:
74-
name: Install requirements
74+
name: 🏗️ Install requirements
7575
command: |
7676
. venv/bin/activate
7777
pip install -r tests/requirements.txt --quiet
@@ -82,7 +82,7 @@ jobs:
8282
- venv
8383

8484
- run:
85-
name: Generate Project & test
85+
name: 🧪 Generate Project & test
8686
command: |
8787
. venv/bin/activate
8888
mkdir test_install

hooks/post_gen_project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def _execute_command(cmd):
6161

6262
print('\n\nInstalling dependencies\n', file=sys.stderr)
6363

64-
# Install python requirements.
64+
# Install Python requirements.
6565
_execute_command(
6666
r'{} -m pip install -r requirements.txt'.format(python_executable)
6767
)
@@ -76,7 +76,7 @@ def _execute_command(cmd):
7676

7777
# Activating the venv and running the command
7878
# doesn't work on Linux with subprocess.
79-
# The command need to run in the venv we just created to use the dash cmd.
79+
# The command needs to run in the venv we just created to use the dash cmd.
8080
# But it also needs shell to be true for the command to work.
8181
# And shell doesn't work with `npm run` nor `. venv/bin/activate`
8282
# The command works in a terminal.

0 commit comments

Comments
 (0)