Skip to content

Commit 4c57391

Browse files
committed
fix pip_user
1 parent ed01a5f commit 4c57391

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22
PS1='\[\033[01;32m\]\u\[\033[00m\] \[\033[01;34m\]\w\[\033[00m\]$(__git_ps1 " (%s)") $ '
33
pre-commit install
4+
export PIP_USER=no
45
clear
56
echo 'We are now ready to go, welcome!!'

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ black = "^20.8b1"
1616
[build-system]
1717
requires = ["poetry>=0.12"]
1818
build-backend = "poetry.masonry.api"
19+
20+
[tool.poetry.scripts]
21+
hello = "the_perfect_python_project.hello:main"

tests/test_the_perfect_python_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33

44
def test_version():
5-
assert __version__ == '0.1.0'
5+
assert __version__ == "0.1.0"

the_perfect_python_project/hello.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
from loguru import logger
22

3+
34
def main():
45
logger.debug("Hello!")
56

67

7-
if __name__ == '__main__':
8-
main()
8+
if __name__ == "__main__":
9+
main()

0 commit comments

Comments
 (0)