Updated .gitignore

This commit is contained in:
Leonardo Cavaletti 2021-02-06 16:05:41 +00:00
parent f9a1dc4ddf
commit 3f6715a3b4
2 changed files with 49 additions and 17 deletions

62
.gitignore vendored
View File

@ -1,6 +1,5 @@
# Created by https://www.toptal.com/developers/gitignore/api/python
# Created by https://www.gitignore.io/api/python # Edit at https://www.toptal.com/developers/gitignore?templates=python
# Edit at https://www.gitignore.io/?templates=python
### Python ### ### Python ###
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files
@ -52,22 +51,42 @@ htmlcov/
nosetests.xml nosetests.xml
coverage.xml coverage.xml
*.cover *.cover
*.py,cover
.hypothesis/ .hypothesis/
.pytest_cache/ .pytest_cache/
pytestdebug.log
# Translations # Translations
*.mo *.mo
*.pot *.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff: # Scrapy stuff:
.scrapy .scrapy
# Sphinx documentation # Sphinx documentation
docs/_build/ docs/_build/
doc/_build/
# PyBuilder # PyBuilder
target/ target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv # pyenv
.python-version .python-version
@ -78,12 +97,26 @@ target/
# install all needed dependencies. # install all needed dependencies.
#Pipfile.lock #Pipfile.lock
# celery beat schedule file # PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
# Celery stuff
celerybeat-schedule celerybeat-schedule
celerybeat.pid
# SageMath parsed files # SageMath parsed files
*.sage.py *.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
pythonenv*
# Spyder project settings # Spyder project settings
.spyderproject .spyderproject
.spyproject .spyproject
@ -91,11 +124,6 @@ celerybeat-schedule
# Rope project settings # Rope project settings
.ropeproject .ropeproject
# Mr Developer
.mr.developer.cfg
.project
.pydevproject
# mkdocs documentation # mkdocs documentation
/site /site
@ -107,11 +135,15 @@ dmypy.json
# Pyre type checker # Pyre type checker
.pyre/ .pyre/
# End of https://www.gitignore.io/api/python # pytype static type analyzer
.env .pytype/
.vscode
temp
logs
# profiling data
.prof
# End of https://www.toptal.com/developers/gitignore/api/python
.vscode/
.temp/
.logs/
.idea/ .idea/
venv/

View File

@ -223,7 +223,7 @@ class Parser:
sys.exit() sys.exit()
log.info(f"Initialising chromedriver at {chromedriver_path}") log.info(f"Initialising chromedriver at {chromedriver_path}")
logs_path = Path.cwd() / "logs" / "webdrive.log" logs_path = Path.cwd() / ".logs" / "webdrive.log"
logs_path.parent.mkdir(parents=True, exist_ok=True) logs_path.parent.mkdir(parents=True, exist_ok=True)
chrome_options = Options() chrome_options = Options()