Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sparul93 committed Feb 8, 2024
1 parent dec025a commit 536cb5e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand All @@ -43,4 +43,4 @@ jobs:
context: .
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: ${{ steps.meta.outputs.tags }}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.run
.idea
.idea
*.egg-info
__pycache__
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ WORKDIR /app
COPY requirements.txt .
RUN pip3 install -r requirements.txt
COPY . .
ENTRYPOINT ["python3", "filepass.py"]
ENTRYPOINT ["python3", "filepass.py"]
10 changes: 4 additions & 6 deletions src/filepass/filepass.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import logging
import os
import sys

import fs
import os
import fs.smbfs
import fs.ftpfs
from fs.walk import Walker
import logging
import fs.smbfs
import graypy
from fs.walk import Walker


# File Transfer Types
Expand Down Expand Up @@ -64,7 +64,6 @@ def file_pass(
to_method,
to_delete,
):

# From File System
if from_method == "ssh":
logger.debug("Create from SSH connection")
Expand Down Expand Up @@ -136,7 +135,6 @@ def file_pass(


def main():

# Load Environmental Variables

# GREYLOG_SERVER
Expand Down

0 comments on commit 536cb5e

Please sign in to comment.