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 dependabot tags #289

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ updates:
schedule:
interval: "daily"
reviewers:
- "naslundx"
- "vonNiklasson"
- "redfungus"

Expand All @@ -14,5 +15,6 @@ updates:
schedule:
interval: "daily"
reviewers:
- "naslundx"
- "vonNiklasson"
- "redfungus"
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10']

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
python-version: [3.8]

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ lint:

.PHONY: test tests
test tests:
$(PYTHON) -m pytest tests/ -m 'not system'
$(PYTHON) -m pytest tests/ -m 'not system' -s


.PHONY: test_system
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
astroid==2.9.*
beautifulsoup4==4.10.*
black==22.1.0
black==22.*
bump2version==1.0.*
Flask==2.0.3
html5lib==1.1.*
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ branch = True
omit = */__init__.py

[mypy]
python_version = 3.7
python_version = 3.8
ignore_missing_imports = True
follow_imports_for_stubs = True
show_column_numbers = True
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/klarna-incubator/webtraversallibrary",
python_requires=">=3.7",
python_requires=">=3.8",
packages=["webtraversallibrary", "webtraversallibrary.driver_check"],
include_package_data=True,
install_requires=[
Expand All @@ -34,7 +34,6 @@
"prodict>=0.8"
],
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down
2 changes: 1 addition & 1 deletion webtraversallibrary/screenshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def capture(cls, name: str, driver: WebDriver, scale: float = 1.0, max_page_heig
0,
0,
viewport.width,
page_height - shot_idx * viewport.height,
page_height - (shot_idx - 1) * viewport.height,
)
viewport_screenshot = viewport_screenshot.crop(new_viewport_area)

Expand Down