Add poetry cache clear, and small code change

pull/286/head
erinhmclark 2025-03-31 11:41:26 +01:00
rodzic c2821d7c83
commit 8940580638
3 zmienionych plików z 7 dodań i 4 usunięć

Wyświetl plik

@ -44,6 +44,9 @@ jobs:
~/.cache/pip
key: poetry-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Clear Poetry PyPI cache
run: poetry cache clear pypi --all
- name: Install dependencies from source only
run: poetry install --no-interaction --with dev
env:

Wyświetl plik

@ -38,6 +38,9 @@ jobs:
~/.cache/pip
key: poetry-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Clear Poetry PyPI cache
run: poetry cache clear pypi --all
- name: Install dependencies from source only
run: poetry install --no-interaction --with dev
env:

Wyświetl plik

@ -88,10 +88,7 @@ class GsheetsFeederDB(Feeder, Database):
if len(self.allow_worksheets) and sheet_name not in self.allow_worksheets:
# ALLOW rules exist AND sheet name not explicitly allowed
return False
if len(self.block_worksheets) and sheet_name in self.block_worksheets:
# BLOCK rules exist AND sheet name is blocked
return False
return True
return not (self.block_worksheets and sheet_name in self.block_worksheets)
def missing_required_columns(self, gw: GWorksheet) -> list:
missing = []