Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/bandit.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: bandit

on:
push:
branches-ignore: [main]
pull_request:
branches: [main]

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/bearer.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: bearer

on:
push:
branches-ignore: [main]
pull_request:
branches: [main]

Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/black.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: black

on:
push:
branches-ignore: [main]
pull_request:
branches: [main]

Expand Down Expand Up @@ -36,8 +34,7 @@ jobs:
source ./venv/bin/activate
echo "PATH=${PATH}" >> "${GITHUB_ENV}"
python -m pip install --upgrade pip
python -m pip install --requirement development-requirements.txt
python -m pip install --requirement requirements.txt
python -m pip install --group all .

- name: Run black testing
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-development-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
source ./venv/bin/activate
echo "PATH=${PATH}" >> "${GITHUB_ENV}"
python -m pip install --upgrade pip
python -m pip install --requirement development-requirements.txt
python -m pip install --group all .
39 changes: 1 addition & 38 deletions .github/workflows/dependency-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,42 +7,6 @@ on:
permissions: {}

jobs:
fpvs:
permissions:
contents: read
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]

steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m venv ./venv
source ./venv/bin/activate
echo "PATH=${PATH}" >> "${GITHUB_ENV}"
python -m pip install --upgrade pip
python -m pip install --requirement development-requirements.txt
python -m pip install --requirement requirements.txt
python -m pip wheel -r requirements.txt --wheel-dir=vendor

- name: Run fpvs scan
run: |
python -m pip install fpvs
git clone https://gitlab.com/gitlab-org/security-products/gemnasium-db.git
fpvs-scan --verbose

pip-audit:
permissions:
contents: read
Expand All @@ -68,10 +32,9 @@ jobs:
python -m venv ./venv
source ./venv/bin/activate
echo "PATH=${PATH}" >> "${GITHUB_ENV}"
python -m pip install --requirement requirements.txt
python -m pip install .

- name: Run pip-audit
uses: pypa/gh-action-pip-audit@v1.1.0
with:
inputs: requirements.txt
inputs: ${{ github.workspace}}
2 changes: 0 additions & 2 deletions .github/workflows/flake8.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: flake8

on:
push:
branches-ignore: [main]
pull_request:
branches: [main]

Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/isort.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: isort

on:
push:
branches-ignore: [main]
pull_request:
branches: [main]

Expand Down Expand Up @@ -35,12 +33,9 @@ jobs:
source ./venv/bin/activate
echo "PATH=${PATH}" >> "${GITHUB_ENV}"
python -m pip install --upgrade pip
python -m pip install --requirement development-requirements.txt
python -m pip install --requirement requirements.txt
python -m pip install --group all .

- name: Run isort
uses: isort/isort-action@v1
with:
configuration:
requirements-files: requirements.txt
sort-paths: "sz_tools"
5 changes: 1 addition & 4 deletions .github/workflows/mypy.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: mypy

on:
push:
branches-ignore: [main]
pull_request:
branches: [main]

Expand Down Expand Up @@ -36,8 +34,7 @@ jobs:
source ./venv/bin/activate
echo "PATH=${PATH}" >> "${GITHUB_ENV}"
python -m pip install --upgrade pip
python -m pip install --requirement development-requirements.txt
python -m pip install --requirement requirements.txt
python -m pip install --group all .

- name: Run mypy tests
run: |
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/pylint.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: pylint

on:
push:
branches-ignore: [main]
pull_request:
branches: [main]

Expand Down Expand Up @@ -35,8 +33,7 @@ jobs:
source ./venv/bin/activate
echo "PATH=${PATH}" >> "${GITHUB_ENV}"
python -m pip install --upgrade pip
python -m pip install --requirement development-requirements.txt
python -m pip install --requirement requirements.txt
python -m pip install --group all .

- name: Analysing the code with pylint
run: |
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/pytest-darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,7 @@ jobs:
source ./venv/bin/activate
echo "PATH=${PATH}" >> "${GITHUB_ENV}"
python -m pip install --upgrade pip
python -m pip install --requirement development-requirements.txt
python -m pip install --requirement requirements.txt

- if: matrix.python-version == '3.10'
name: Install python libraries for python 3.10
run: |
source ./venv/bin/activate
python -m pip install typing_extensions
python -m pip install --group all .

- name: Install Senzing SDK
uses: senzing-factory/github-action-install-senzing-sdk@v3
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/pytest-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,7 @@ jobs:
source ./venv/bin/activate
echo "PATH=${PATH}" >> "${GITHUB_ENV}"
python -m pip install --upgrade pip
python -m pip install --requirement development-requirements.txt
python -m pip install --requirement requirements.txt

- if: matrix.python-version == '3.9' || matrix.python-version == '3.10'
name: Install python libraries for python 3.9 and 3.10
run: |
source ./venv/bin/activate
python -m pip install typing_extensions
python -m pip install --group all .

- name: Install Senzing SDK
uses: senzing-factory/github-action-install-senzing-sdk@v3
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/pytest-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,7 @@ jobs:
python -m venv .\\venv
.\\venv\\Scripts\\activate
python -m pip install --upgrade pip
python -m pip install --requirement development-requirements.txt
python -m pip install --requirement requirements.txt

- if: matrix.python-version == '3.9' || matrix.python-version == '3.10'
name: Install python libraries for python 3.9 and 3.10
run: |
.\\venv\\Scripts\\activate
python -m pip install typing_extensions
python -m pip install --group all .

- name: Install Senzing SDK
uses: senzing-factory/github-action-install-senzing-sdk@v3
Expand Down
15 changes: 15 additions & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@
"Analysing",
"ANONSUPPORT",
"Anytown",
"applehelp",
"argparse",
"asctime",
"ASFULL",
"ASORG",
"atexit",
"ATTRIBUTECLASS",
"autodoc",
"autodocsumm",
"begidx",
"BEHAVIORCODES",
"bugtracker",
"buildout",
"buildx",
"Bysource",
Expand Down Expand Up @@ -63,6 +67,7 @@
"Dedupe",
"DEEPPINK",
"DEEPSKYBLUE",
"devhelp",
"DEXCL",
"dfbom",
"dfcall",
Expand Down Expand Up @@ -139,6 +144,7 @@
"HOTPINK",
"hrules",
"htmlcov",
"htmlhelp",
"ICLA",
"INDIANRED",
"ints",
Expand All @@ -153,6 +159,8 @@
"itertools",
"JAVACLASSNAME",
"joinpath",
"jquery",
"jsmath",
"JSONKEYCOLOR",
"JSONVALUECOLOR",
"Keytable",
Expand Down Expand Up @@ -234,6 +242,7 @@
"PYTHONPATH",
"qdepth",
"qsize",
"qthelp",
"quotechar",
"randint",
"RCLASS",
Expand All @@ -243,6 +252,7 @@
"reformatters",
"reinit",
"rels",
"remoteliteralinclude",
"repr",
"RESOURCEPATH",
"retcode",
Expand Down Expand Up @@ -270,6 +280,7 @@
"Senzing",
"senzingsdk",
"senzprojs",
"serializinghtml",
"setuptools",
"sfcall",
"sfunc",
Expand All @@ -282,6 +293,8 @@
"simplifiable",
"SKYBLUE",
"sourcedict",
"sphinxcontrib",
"sphinxext",
"splitext",
"sqlerror",
"ssadm",
Expand Down Expand Up @@ -318,6 +331,7 @@
"TOVERSION",
"truthset",
"trys",
"typehints",
"ummary",
"Unconfigured",
"undoc",
Expand All @@ -329,6 +343,7 @@
"utype",
"venv",
"verview",
"virtualenv",
"watchlist",
"withinfo",
"writeheader",
Expand Down
32 changes: 0 additions & 32 deletions development-requirements.txt

This file was deleted.

Loading
Loading