Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #115, #71: PyPi Pre-release Refactor #116

Merged
merged 5 commits into from
Dec 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions fb2cal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,3 @@
"""

from .__meta__ import *
from .transformer import *
from .facebook_user import *
from .facebook_browser import *
from .ics_writer import *
1 change: 0 additions & 1 deletion fb2cal/facebook_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ def __init__(self):
self.browser = mechanicalsoup.StatefulBrowser()
self.browser.set_user_agent('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36')
self.__cached_token = None
self.__cached_locale = None

def authenticate(self, email, password):
""" Authenticate with Facebook setting up session for further requests """
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[metadata]
description-file = README.md
description_file = README.md
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from setuptools import setup, find_packages
from fb2cal.__meta__ import __title__, __version__, __description__, __license__, __author__, __email__, __min_python_version__, __website__, __download_url__, __keywords__
from fb2cal.__meta__ import __title__, __version__, __description__, __license__, __author__, __email__, __website__, __download_url__, __keywords__

setup(
name=__title__,
Expand Down
3 changes: 2 additions & 1 deletion tests/test_ics_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
from ics import Calendar
from freezegun import freeze_time

from fb2cal import ICSWriter, FacebookUser
from fb2cal.ics_writer import ICSWriter
from fb2cal.facebook_user import FacebookUser

class TestICSWriter(unittest.TestCase):
def setUp(self):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_transformer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import unittest
from fb2cal import Transformer
from fb2cal.transformer import Transformer

from mocks.birthday_comet_root_mocks import BIRTHDAY_COMET_ROOT_JANUARY_MOCK

Expand Down