Skip to content

Commit

Permalink
Add __init__.py to become a regular package by sgt0 ($#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE authored Nov 16, 2023
2 parents 920b445 + 2a676df commit 7cd966d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autotag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Get version number
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
- "3.11"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -24,6 +24,7 @@ jobs:
pip install vapoursynth-portable==${{ matrix.versions }}
pip install -r requirements.txt
pip install -r requirements-dev.txt
id: dependencies
- name: Running flake8
run: flake8 getfscaler
- name: Running mypy
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pypipublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
name: Build and push to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Prep Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.11'

Expand Down
Empty file added getfscaler/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion getfscaler/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def main() -> None:


if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Find the best inverse scaler for a given frame")
parser = argparse.ArgumentParser(prog="getfscaler", description="Find the best inverse scaler for a given frame")

parser.add_argument(
dest="input_file",
Expand Down

0 comments on commit 7cd966d

Please sign in to comment.