Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update project template cruft, dependencies #105

Merged
merged 5 commits into from
Nov 1, 2023
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: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/smkent/cookie-python",
"commit": "ae5c42761c7903b4c6238c1c6e8f91121866db89",
"commit": "ef0eb856151aa6b4a7442a6c3e8ceb6511203ac2",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: Release
env:
ENABLE_PYPI_PUBLISH: true
ENABLE_TEST_PYPI_PUBLISH: true
RELEASE_PYTHON_VERSION: "3.11"
RELEASE_POETRY_VERSION: "1.3"
RELEASE_PYTHON_VERSION: "3.12"
RELEASE_POETRY_VERSION: "1.6"

on:
push:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
poetry-version:
- "1.3"
- "1.6"

runs-on: ${{ matrix.os }}-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: Build
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
RELEASE_PYTHON_VERSION: "3.11"
RELEASE_POETRY_VERSION: "1.3"
RELEASE_PYTHON_VERSION: "3.12"
RELEASE_POETRY_VERSION: "1.6"

on:
pull_request:
Expand Down
188 changes: 94 additions & 94 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion safeway_coupons/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_offers(self) -> List[Offer]:
"https://www.safeway.com/abs/pub/xapi"
"/offers/companiongalleryoffer"
f"?storeId={self.session.store_id}"
f"&rand={random.randrange(100000,999999)}",
f"&rand={random.randrange(100000, 999999)}"
)
response.raise_for_status()
return OfferList.from_dict(response.json()).offers
Expand Down
2 changes: 1 addition & 1 deletion safeway_coupons/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def _chrome_driver(self, headless: bool = True) -> Iterator[uc.Chrome]:
driver.quit()

@staticmethod
def _sign_in_success(driver: ec.AnyDriver) -> bool:
def _sign_in_success(driver: uc.Chrome) -> bool:
try:
element = driver.find_element(
By.XPATH, '//span [contains(@class, "user-greeting")]'
Expand Down
Loading