Skip to content

Commit 9c562b5

Browse files
authored
Merge pull request #90 from jbampton/fix-word-case-and-standardize-pytest-ini
Fix case of words and standardize the pytest.ini file.
2 parents 24467a9 + c9d5ec3 commit 9c562b5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

hooks/post_gen_project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def _execute_command(cmd):
5353
print(
5454
'''
5555
venv creation failed.
56-
Make sure you have installed virtualenv on python 2.
56+
Make sure you have installed virtualenv on Python 2.
5757
''',
5858
file=sys.stderr
5959
)
@@ -75,7 +75,7 @@ def _execute_command(cmd):
7575
_execute_command('npm run build:js')
7676

7777
# Activating the venv and running the command
78-
# doesn't work on linux with subprocess.
78+
# doesn't work on Linux with subprocess.
7979
# The command need 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`

hooks/pre_gen_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
invalid_package_message = 'Invalid {variable}: {value}'
99
project_shortname_message = '''
10-
({variable}={value}) should be a valid python package name.
10+
({variable}={value}) should be a valid Python package name.
1111
1212
Only lowercase letters and `_` are allowed.
1313
'''

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[pytest]
22
testpaths = tests/
3-
log_cli=true
3+
log_cli = true
44
log_format = %(asctime)s %(levelname)s %(message)s
55
log_date_format = %Y-%m-%d %H:%M:%S
66
webdriver = Chrome

tests/test_install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def test_install(cookies, dash_duo):
6363
node_modules = str(results.project.join('node_modules'))
6464

6565
if sys.platform == 'win32':
66-
# Fix delete long names on windows.
66+
# Fix delete long names on Windows.
6767
# pytest-cookies have trouble deleting some file generated by webpack.
6868
node_modules = '\\\\?\\' + node_modules
6969

0 commit comments

Comments
 (0)