Skip to content
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
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@ Simple reusable python resources for digital publishing.

## Installation

**TODO**
Follow these steps to install the package on your local machine:

1. **Install the package**

Open your terminal and run the following command:

```bash
pip install git+https://github.com/GSS-Cogs/dp-python-tools.git
```


## Usage

Expand Down
6 changes: 3 additions & 3 deletions dpytools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from http.http import HttpClient
from config.config import Config
from http_clients.http import HttpClient
from config.config import Config
from logger.logger import logger
from slack.slack import SlackNotifier
from sns.sns import Subscription, publish
from sns.sns import Subscription, publish
3 changes: 1 addition & 2 deletions dpytools/config/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Dict

from properties.base import BaseProperty

from .properties.base import BaseProperty

class Config:

Expand Down
2 changes: 1 addition & 1 deletion dpytools/config/properties/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from string import StringProperty
from .string import StringProperty
2 changes: 1 addition & 1 deletion dpytools/config/properties/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import Any, Union, Tuple, Optional

@dataclass
class BaseProperty(meta=ABCMeta):
class BaseProperty(metaclass=ABCMeta):
name: str
value: Any

Expand Down
2 changes: 1 addition & 1 deletion dpytools/config/properties/string.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Optional

from base import BaseProperty
from .base import BaseProperty


class StringProperty(BaseProperty):
Expand Down
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions tests/test_nothing.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

# TODO - remove as soon as we add our first test.
def test_nothing():
"""
Empty test to stop failures for 0 coverage
"""
...