Skip to content

Commit 4b9ff66

Browse files
Bump pytest from 8.4.1 to 9.0.2 (#51)
* Bump pytest from 8.4.1 to 9.0.2 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.4.1 to 9.0.2. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@8.4.1...9.0.2) --- updated-dependencies: - dependency-name: pytest dependency-version: 9.0.2 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Update to template --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: docktermj <michael@dockter.com>
1 parent 63f74d9 commit 4b9ff66

24 files changed

Lines changed: 355 additions & 158 deletions

.claude/CLAUDE.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# CLAUDE.md
2+
3+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4+
5+
## Project Overview
6+
7+
This is **mapper-base**, a Python library providing base utilities for Senzing data mappers. It's used as a dependency by higher-level mapper projects (mapper-ijic, mapper-dowjones, etc.) for entity resolution tasks.
8+
9+
The `base_library` class in `src/base_mapper.py` provides:
10+
11+
- Date formatting and normalization (`formatDate`)
12+
- ISO country/state code conversion (`isoCountryCode`, `isoStateCode`)
13+
- Company vs person name detection (`isCompanyName`)
14+
- Statistics tracking (`updateStat`)
15+
16+
Lookup tables in `src/base_variants.json` contain mappings for state codes, country codes, organization tokens, and person tokens.
17+
18+
## Development Commands
19+
20+
**Install all dependencies (development, testing, linting, docs):**
21+
22+
```bash
23+
python -m pip install --group all .
24+
```
25+
26+
**Run pylint:**
27+
28+
```bash
29+
pylint $(git ls-files '*.py' ':!:docs/source/*')
30+
```
31+
32+
**Run a single Python file directly:**
33+
34+
```bash
35+
python src/base_mapper.py
36+
```
37+
38+
## Code Style
39+
40+
- **Line length**: 120 characters
41+
- **Formatter**: Black with `line-length = 120`
42+
- **Import sorting**: isort with "black" profile
43+
- **Linting**: Pylint with relaxed rules (see `.pylintrc` for disabled checks including `missing-module-docstring`, `missing-function-docstring`, `invalid-name`, `line-too-long`)
44+
45+
## Python Version Support
46+
47+
Python 3.10, 3.11, 3.12, and 3.13 are supported and tested in CI.

.claude/commands/senzing-code-review.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

.claude/commands/senzing.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Senzing
2+
3+
- Perform the steps specified by <https://raw.githubusercontent.com/senzing-factory/claude/refs/tags/v1/commands/senzing.md>

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Default code owner
1+
# Default code owner
22

33
* @Senzing/senzing-mappers
44

.github/dependabot.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33

44
version: 2
55
updates:
6-
- package-ecosystem: "github-actions"
7-
directory: "/"
6+
- package-ecosystem: github-actions
7+
cooldown:
8+
default-days: 21
9+
directory: /
810
schedule:
9-
interval: "daily"
10-
- package-ecosystem: "pip"
11-
directory: "/"
11+
interval: daily
12+
- package-ecosystem: pip
13+
cooldown:
14+
default-days: 21
15+
directory: /
1216
schedule:
13-
interval: "daily"
17+
interval: daily

.github/workflows/add-labels-standardized.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: add labels standardized
1+
name: Add labels standardized
22

33
on:
44
issues:

.github/workflows/add-to-project-senzing-dependabot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: add to project senzing github organization dependabot
1+
name: Add to project senzing github organization dependabot
22

33
on:
44
pull_request:

.github/workflows/add-to-project-senzing.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: add to project senzing github organization
1+
name: Add to project senzing github organization
22

33
on:
44
issues:

.github/workflows/claude-pr-review.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: Claude PR Review
22

3-
concurrency:
4-
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
5-
cancel-in-progress: true
6-
73
on:
84
pull_request:
95
types: [opened, synchronize]
106

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
9+
cancel-in-progress: true
10+
1111
permissions: {}
1212

1313
jobs:

0 commit comments

Comments
 (0)