Skip to content

Commit 8dc71a9

Browse files
authored
Merge pull request #467 from statisticsnorway/remove-caret
Maintenance 🔧
2 parents 9cc23e0 + 593b21b commit 8dc71a9

File tree

5 files changed

+263
-320
lines changed

5 files changed

+263
-320
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
matrix:
1616
include:
1717
- { python: "3.10", os: "ubuntu-latest", session: "pre-commit" }
18-
- { python: "3.10", os: "ubuntu-latest", session: "safety" }
1918
- { python: "3.10", os: "ubuntu-latest", session: "mypy" }
2019
- { python: "3.11", os: "ubuntu-latest", session: "mypy" }
2120
- { python: "3.10", os: "ubuntu-latest", session: "unit_tests" }
@@ -103,6 +102,7 @@ jobs:
103102
with:
104103
name: coverage-data-${{ matrix.os }}-${{ matrix.python }}
105104
path: ".coverage.*"
105+
include-hidden-files: true
106106

107107
- name: Upload documentation
108108
if: matrix.session == 'docs-build'

.pre-commit-config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ repos:
3232
entry: end-of-file-fixer
3333
language: system
3434
types: [text]
35-
stages: [commit, push, manual]
3635
- id: flake8
3736
name: flake8
3837
entry: flake8
@@ -59,7 +58,6 @@ repos:
5958
entry: trailing-whitespace-fixer
6059
language: system
6160
types: [text]
62-
stages: [commit, push, manual]
6361
- repo: https://github.com/pre-commit/mirrors-prettier
6462
rev: v2.6.0
6563
hooks:

noxfile.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
nox.needs_version = ">= 2021.6.6"
3030
nox.options.sessions = (
3131
"pre-commit",
32-
"safety",
3332
"mypy",
3433
"unit_tests",
3534
"integration_tests",
@@ -143,14 +142,6 @@ def precommit(session: Session) -> None:
143142
activate_virtualenv_in_precommit_hooks(session)
144143

145144

146-
@session(python=python_versions[0])
147-
def safety(session: Session) -> None:
148-
"""Scan dependencies for insecure packages."""
149-
requirements = session.poetry.export_requirements()
150-
session.install("safety")
151-
session.run("safety", "check", "--full-report", f"--file={requirements}")
152-
153-
154145
@session(python=python_versions)
155146
def mypy(session: Session) -> None:
156147
"""Type-check using mypy."""

0 commit comments

Comments
 (0)