Skip to content

Commit

Permalink
chore: restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
scrambldchannel committed Nov 12, 2022
1 parent 14ad254 commit 899fffb
Show file tree
Hide file tree
Showing 12 changed files with 37 additions and 54 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from airflow.models import BaseOperator
from airflow.utils.decorators import apply_defaults

from airflow_tm1.hooks.tm1 import TM1Hook
from airflow_provider_tm1.hooks.tm1 import TM1Hook


class TM1RunChoreOperator(BaseOperator):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from airflow.models import BaseOperator
from airflow.utils.decorators import apply_defaults

from airflow_tm1.hooks.tm1 import TM1Hook
from airflow_provider_tm1.hooks.tm1 import TM1Hook


class TM1RunTIOperator(BaseOperator):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
33 changes: 33 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[metadata]
name = airflow-provider-hightouch
version = attr: airflow_provider_hightouch.__version__
description = Hightouch Provider for Airflow
long_description = file: README.md
long_description_content_type = text/markdown
license = Apache License 2.0
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: Apache Software License
Programming Language :: Python :: 3
Operating System :: OS Independent
author = Hightouch
author_email = pedram@hightouch.io
url = https://github.com/hightouchio/airflow-provider-hightouch
project_urls =
Bug Tracker = https://github.com/hightouchio/airflow-provider-hightouch/issues
cmdclass=
verify=version:validate_version

[options]
packages = find:
python_requires = >=3.7
install_requires =
requests
apache-airflow >= 2.2
tests_requires =
pytest
requests_mock

[options.entry_points]
apache_airflow_provider=
provider_info=airflow_provider_tm1:get_provider_info
50 changes: 0 additions & 50 deletions setup.py

This file was deleted.

4 changes: 2 additions & 2 deletions tests/operators/test_operators.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from airflow_tm1.operators.tm1_run_chore import TM1RunChoreOperator
from airflow_tm1.operators.tm1_run_ti import TM1RunTIOperator
from airflow_provider_tm1.operators.tm1_run_chore import TM1RunChoreOperator
from airflow_provider_tm1.operators.tm1_run_ti import TM1RunTIOperator

# import pytest

Expand Down

0 comments on commit 899fffb

Please sign in to comment.