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

64
.gitignore vendored
View File

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

View File

@ -223,7 +223,7 @@ class Parser:
sys.exit()
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)
chrome_options = Options()