Skip to content

Commit 6fd02c4

Browse files
authored
Merge pull request #4 from Validus-Risk-Management/fix-extra-dash
Remove the dependency on parse which is no longer used
2 parents 1c3ba3f + d5f94d5 commit 6fd02c4

7 files changed

Lines changed: 513 additions & 569 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ repos:
77
- id: trailing-whitespace
88
- id: check-merge-conflict
99
- repo: https://github.com/psf/black
10-
rev: 21.7b0
10+
rev: 23.3.0
1111
hooks:
1212
- id: black
1313
name: "Format with black"
1414
- repo: https://github.com/PyCQA/isort
15-
rev: 5.9.3
15+
rev: 5.12.0
1616
hooks:
1717
- id: isort
1818
name: "Sort module imports"
1919
args: ["--profile", "black", "--filter-files"]
20-
- repo: https://gitlab.com/pycqa/flake8
20+
- repo: https://github.com/pycqa/flake8
2121
rev: 3.9.2
2222
hooks:
2323
- id: flake8

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ partifact login myrepo --role myrole
5353
# Known issues
5454

5555
1. The `CodeArtifact` token seems to exceed the maximum length allowed in Windows Credential Manager, resulting
56-
in a misleading `(1783, 'CredWrite', 'The stub received bad data.')` error. The library has been tested on macOS.
56+
in a misleading `(1783, 'CredWrite', 'The stub received bad data.')` error. The library has been tested on macOS.

partifact/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from tomlkit.exceptions import TOMLKitError
99

1010
CONFIG_PATH = "./pyproject.toml"
11-
URL_TEMPLATE = "https://{code_artifact_domain}-{aws_account}.d.codeartifact.{aws_region}.amazonaws.com/pypi/{code_artifact_repository}"
1211
URL_PATTERN = r"https://(?P<code_artifact_domain>.*)-(?P<aws_account>\d+).d.codeartifact.(?P<aws_region>[a-z0-9-]+).amazonaws.com/pypi/(?P<code_artifact_repository>.*)"
1312

1413

0 commit comments

Comments
 (0)