Skip to content

Commit

Permalink
cleanup leftovers and typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Aug 2, 2024
1 parent c3561af commit 9668442
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 230 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ jobs:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('.pypi-${{ matrix.python-version }}-requirements.txt') }}

# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: |
pip install -r .pypi-${{ matrix.python-version }}-requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ If you get an empty output from the previous command, run:

.. code-block:: console
(cds3)$ mkdir src ; cd srcbt
(cds3)$ mkdir src ; cd src
(cds3)$ git clone https://github.com/CERNDocumentServer/cds-videos.git
5. Run a script to set up some npm configurations and install some packages:
Expand Down
221 changes: 0 additions & 221 deletions Upgrade.txt

This file was deleted.

1 change: 0 additions & 1 deletion cds/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,6 @@ def _parse_env_bool(var_name, default=None):
"base-uri": ["'self'"],
"worker-src": ["'self'", "blob:"],
"manifest-src": ["'none'"],
# "prefetch-src": ["'none'"],
"font-src": [
"'self'",
"data:",
Expand Down
1 change: 0 additions & 1 deletion cds/modules/deposit/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,6 @@ def _publish_edited(self):
record = self._generate_smil_file(record.id, record, bucket)
# dump after smil generation
record["_files"] = record.files.dumps()
print(self.files.dumps())
bucket.locked = True

return record
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -236,4 +236,4 @@ ignore =

[tool:pytest]
# addopts = --black --isort --pydocstyle --cov=cds_videos --cov-report=term-missing
testpaths = tests unit
testpaths = tests/unit

0 comments on commit 9668442

Please sign in to comment.