Skip to content

Commit

Permalink
Update pylint requirement from ~=3.1 to ~=3.2 (#248)
Browse files Browse the repository at this point in the history
* Update pylint requirement from ~=3.1 to ~=3.2

Updates the requirements on [pylint](https://github.com/pylint-dev/pylint) to permit the latest version.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v3.1.0...v3.2.1)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix for pylint. Note that this is not tested originally.

* Safety issue for jinja ignored

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Francesca.L.Bleken@sintef.no <francesca.l.bleken@sintef.no>
  • Loading branch information
dependabot[bot] and francescalb authored Jun 24, 2024
1 parent a6c5568 commit 8659740
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ jobs:
# See this NumPy issue for more information: https://github.com/numpy/numpy/issues/19038
# Remove ignoring 48547 as soon as RDFLib/rdflib#1844 has been fixed and the fix
# has been released.
# 70612 is a Jinja issue, can be ignored as only used in subdependencies for documentation
- name: Run safety
run: pip freeze | safety check --stdin --ignore 44715 --ignore 48547
run: pip freeze | safety check --stdin --ignore 44715 --ignore 48547 --ignore 70612

pytest-linux:
runs-on: ubuntu-latest
Expand Down
5 changes: 2 additions & 3 deletions oteapi_dlite/strategies/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,11 @@ def get(
# Save instance
if config.location:
inst.save(driver, config.location, config.options)
else:
else: # missing test
if cacheconfig and cacheconfig.accessKey:
key = cacheconfig.accessKey
elif "key" in session: # type: ignore
else: # missing test
key = "generate_data"

cache = DataCache()
with tempfile.TemporaryDirectory() as tmpdir:
inst.save(driver, "{tmpdir}/data", config.options)
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
otelib>=0.4.0,<1
pylint~=3.1
pylint~=3.2
pytest~=8.2
pytest-cov~=5.0
pyyaml>=5.0

0 comments on commit 8659740

Please sign in to comment.