Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: code-yeongyu/TwitterVideoTools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2022.11.17
Choose a base ref
...
head repository: code-yeongyu/TwitterVideoTools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing 1,110 changed files with 24,809 additions and 3,259 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/check_code.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Check Code
on:
pull_request:

jobs:
static-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9

- uses: snok/install-poetry@v1.3.3
with:
virtualenvs-create: true
virtualenvs-in-project: true

- name: Cache Dependencies
uses: actions/cache@v2
id: cache-dependencies
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}

- name: Install Dependencies if cache doesn't hit
if: steps.cache-dependencies.cache-hit != 'true'
run: poetry install

- name: Check Code Styles
run: poetry run invoke check-code-style

- name: Check Types
run: poetry run invoke check-types
2 changes: 0 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -30,8 +30,6 @@ jobs:
if: steps.cache-dependencies.cache-hit != 'true'
run: poetry install

- run: echo 'release ${{ github.event.release.name }}'

- name: Publish to PyPI
run:
poetry config http-basic.pypi ${{ secrets.PYPI_USERNAME }} ${{ secrets.PYPI_PASSWORD }};
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
# Edit at https://www.toptal.com/developers/gitignore?templates=python
# twitter_video_downloader
playground.py
monkeytype.sqlite3

### Python ###
# Byte-compiled / optimized / DLL files
Loading