Skip to content

Commit

Permalink
fixed sync code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
d33p0st committed Sep 12, 2024
1 parent a4af7fd commit 263b2b7
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions codes/sync.py
Original file line number Diff line number Diff line change
@@ -1,27 +1,6 @@
import os, platform, sys
import os, sys
from git import Repo

# class lister:
# def __init__(self, directory: str = os.getcwd()):
# self.dir = directory

# @property
# def scan(self) -> list[str]:
# entries = []

# for dirpath, dirnames, filenames in os.walk(self.dir):
# for dirname in dirnames:
# entries.append(os.path.join(dirpath, dirname))
# for filename in filenames:
# entries.append(os.path.join(dirpath, filename))

# return entries

# def list(self, file: str = os.path.join(os.getcwd(), '__all_files__')):
# with open(file, 'w+') as f_r:
# for f in self.scan:
# f_r.write(f + "\n")

class sync:
def __init__(self):
token = os.environ['GITHUB_TOKEN']
Expand Down

0 comments on commit 263b2b7

Please sign in to comment.