kopia lustrzana https://github.com/bellingcat/auto-archiver
Add poetry cache clear, and small code change
rodzic
c2821d7c83
commit
8940580638
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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 = []
|
||||
|
|
Ładowanie…
Reference in New Issue