made functions available for import directly from package level; minor addition to gitignore

This commit is contained in:
Daniil Fajnberg 2021-11-12 17:04:51 +01:00
parent 29c82a4ff7
commit e9b427ac4c
3 changed files with 6 additions and 1 deletions

4
.gitignore vendored
View File

@ -1,2 +1,6 @@
# Virtual environment
/.venv/ /.venv/
# PyCharm:
/.idea/ /.idea/
# Distribution / packaging:
*.egg-info/

View File

@ -0,0 +1 @@
from .scrape import *

View File

@ -5,7 +5,7 @@ import csv
from argparse import ArgumentParser from argparse import ArgumentParser
from pathlib import Path from pathlib import Path
from .scrape import get_all_data, log from . import get_all_data, log
def main() -> None: def main() -> None: