Skip to content

Commit

Permalink
fix merge conflict issues
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Jan 18, 2024
1 parent 7160dea commit 547b865
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 6 additions & 2 deletions dbt_common/semver.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ class VersionSpecification(dbtClassMixin):
(?P<major>{num_no_leading_zeros})\.
(?P<minor>{num_no_leading_zeros})\.
(?P<patch>{num_no_leading_zeros})
""".format(num_no_leading_zeros=_NUM_NO_LEADING_ZEROS)
""".format(
num_no_leading_zeros=_NUM_NO_LEADING_ZEROS
)

_VERSION_EXTRA_REGEX = r"""
(\-?
Expand All @@ -45,7 +47,9 @@ class VersionSpecification(dbtClassMixin):
(\+
(?P<build>
{alpha}(\.{alpha})*))?
""".format(alpha_no_leading_zeros=_ALPHA_NO_LEADING_ZEROS, alpha=_ALPHA)
""".format(
alpha_no_leading_zeros=_ALPHA_NO_LEADING_ZEROS, alpha=_ALPHA
)


_VERSION_REGEX_PAT_STR = r"""
Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,14 @@ extra-dependencies = [
"flake8",
"Flake8-pyproject",
"mypy~=1.3",
"pytest~=7.3", # needed for linting tests
"ruff==0.1.11",
"types-Jinja2~=2.11",
"types-jsonschema~=4.17",
"types-protobuf~=4.24.0",
"types-python-dateutil~=2.8",
"types-PyYAML~=6.0",
"types-requests<2.31.0" # types-requests 2.31.0.8 requires

lib3>=2, but we pin urllib3 ~= 1.0 because of openssl requirement for requests

"types-requests<2.31.0" # types-requests 2.31.0.8 requires lib3>=2, but we pin urllib3 ~= 1.0 because of openssl requirement for requests
]

[tool.hatch.envs.lint.scripts]
Expand All @@ -110,6 +108,7 @@ extra-dependencies = [
"pytest-xdist~=3.2",
"hypothesis~=6.87"
]

[[tool.hatch.envs.test.matrix]]
python = ["3.8","3.9","3.10", "3.11"]

Expand Down

0 comments on commit 547b865

Please sign in to comment.