Skip to content

Commit

Permalink
Merge pull request #128 from moj-analytical-services/update-regex-rule
Browse files Browse the repository at this point in the history
Update regex rule
  • Loading branch information
gwionap authored Apr 8, 2024
2 parents 526c2eb + f67eb50 commit 143869c
Show file tree
Hide file tree
Showing 6 changed files with 902 additions and 776 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v5.5.16 - 2024-04-08

- Updated aws role rule

## v5.5.15 - 2023-12-01

- Updated aws role rules
Expand Down
1,665 changes: 893 additions & 772 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pydbtools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
)
from .utils import s3_path_join # noqa: F401

__version__ = "5.5.15"
__version__ = "5.5.16"
4 changes: 2 additions & 2 deletions pydbtools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
None,
),
(
r"^[a-z0-9]{8}-airflow_", # airflow
r"[a-z0-9]{8}-",
r"^[a-z0-9]{7,8}-airflow_", # airflow
r"[a-z0-9]{7,8}-",
),
(
r"^[0-9]+$", # numeric
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool]
[tool.poetry]
name = "pydbtools"
version = "5.5.15"
version = "5.5.16"
description = "A python package to query data via amazon athena and bring it into a pandas df using aws-wrangler."
license = "MIT"
authors = ["Karik Isichei <[email protected]>"]
Expand Down
1 change: 1 addition & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def test_pyproject_toml_matches_version():
("abcde:[email protected]", "my_name"),
("abcde:[email protected]", "my_name"),
("3f7f9e93-airflow_prod_role_name", "airflow_prod_role_name"),
("3f7f9e9-airflow_prod_role_name", "airflow_prod_role_name"),
],
)
def test_clean_user_id(test_input, expected):
Expand Down

0 comments on commit 143869c

Please sign in to comment.