Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent 0991c00 commit 9260735
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion alpa/cli/alpa_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
These commands need GH API token.
"""


from os import getcwd
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions alpa/cli/local_repo.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
These commands need to create LocalRepo -> no GH token required
"""

import os
import subprocess
from os import getcwd
Expand Down
1 change: 1 addition & 0 deletions alpa/config/alpa_local.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Class for local cli config
"""

import logging
from os.path import isfile
from pathlib import Path
Expand Down
1 change: 0 additions & 1 deletion alpa/config/alpa_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Config class for Alpa repository.
"""


import subprocess
from enum import Enum
from pathlib import Path
Expand Down
1 change: 0 additions & 1 deletion alpa/config/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Abstract config class
"""


from abc import ABC, abstractmethod
from pathlib import Path
from typing import Iterable, Optional, Any
Expand Down
1 change: 0 additions & 1 deletion alpa/config/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Config class for package metadata
"""


from os import getcwd
from pathlib import Path
from typing import Optional
Expand Down
1 change: 1 addition & 0 deletions alpa/gh.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Wrapper aroung pygithub API since the documentation is awful..
"""

import logging
from os import getenv
from typing import Optional
Expand Down
1 change: 1 addition & 0 deletions alpa/git.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Wrapper around git cmd using subprocess
"""

import asyncio
import logging
import subprocess
Expand Down
1 change: 0 additions & 1 deletion alpa/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
File for really long messages.
"""


NO_GH_API_KEY_FOUND = (
"No GitHub API key found. Please set the {token} environment variable and"
" pass the GitHub API token to it or set it in alpa.yaml config file. \n"
Expand Down
1 change: 0 additions & 1 deletion alpa/packit.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Alpa repo or package metadata config
"""


from os import getcwd
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions alpa/repository/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Set of commands that helps with integration of Alpa
repository.
"""

import logging
import subprocess
from abc import ABC, abstractmethod
Expand Down
1 change: 0 additions & 1 deletion alpa/repository/subdirectory.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Classes for communication with Alpa subdirectory type of git
"""


from pathlib import Path
from typing import Optional

Expand Down

0 comments on commit 9260735

Please sign in to comment.