fix: typo
This commit is contained in:
parent
934343ea7e
commit
0e8c99b1d2
|
@ -15,7 +15,7 @@ source env/Scripts/activate # each time when you need this venv
|
|||
|
||||
```bash
|
||||
pip3 install -e .
|
||||
cp .env.exmaple .env && vi .env # configure environment
|
||||
cp .env.example .env && vi .env # configure environment
|
||||
joint-teapot --help
|
||||
```
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ def for_all_methods(
|
|||
) -> Callable[[_T], _T]:
|
||||
@functools.wraps(decorator)
|
||||
def decorate(cls: Any) -> Any:
|
||||
for attr in cls.__dict__: # there's propably a better way to do this
|
||||
for attr in cls.__dict__: # there's probably a better way to do this
|
||||
if callable(getattr(cls, attr)):
|
||||
setattr(cls, attr, decorator(getattr(cls, attr)))
|
||||
return cls
|
||||
|
|
|
@ -79,7 +79,7 @@ class Mattermost:
|
|||
logger.info(f"Added member {member} to channel {group_name}")
|
||||
|
||||
def create_webhooks_for_repos(self, repos: List[str], gitea: Gitea) -> None:
|
||||
# one group corresponds to one repo so these concepts can be used interchangably
|
||||
# one group corresponds to one repo so these concepts can be used interchangeably
|
||||
for repo in repos:
|
||||
logger.info(f"Creating webhooks for repo {gitea.org_name}/{repo}")
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user