Skip to content

Commit

Permalink
Merge pull request #3965 from boto/pre-commit-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nateprewitt committed Dec 5, 2023
2 parents a5a5ae2 + b52f3e9 commit a3e710d
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
exclude: ^(.github|.changes|docs/|boto3/compat.py|boto3/data|CHANGELOG.rst)
repos:
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
rev: v4.3.0
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: 'https://github.com/asottile/pyupgrade'
rev: v2.34.0
rev: v3.15.0
hooks:
- id: pyupgrade
args:
Expand All @@ -17,10 +17,10 @@ repos:
hooks:
- id: isort
- repo: 'https://github.com/psf/black'
rev: 22.3.0
rev: 23.11.0
hooks:
- id: black
- repo: 'https://github.com/pycqa/flake8'
rev: 4.0.1
rev: 6.1.0
hooks:
- id: flake8
1 change: 0 additions & 1 deletion boto3/docs/method.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def document_model_driven_resource_method(
resource_action_model=None,
include_signature=True,
):

document_model_driven_method(
section=section,
method_name=method_name,
Expand Down
1 change: 0 additions & 1 deletion boto3/dynamodb/conditions.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@


class ConditionBase:

expression_format = ''
expression_operator = ''
has_grouped_values = False
Expand Down
1 change: 1 addition & 0 deletions boto3/resources/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ def _create_autoload_property(
Creates a new property on the resource to lazy-load its value
via the resource's ``load`` method (if it exists).
"""

# The property loader will check to see if this resource has already
# been loaded and return the cached value if possible. If not, then
# it first checks to see if it CAN be loaded (raise if not), then
Expand Down
1 change: 0 additions & 1 deletion boto3/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,6 @@ def resource(
return cls(client=client)

def _register_default_handlers(self):

# S3 customizations
self._session.register(
'creating-client-class.s3',
Expand Down
1 change: 0 additions & 1 deletion tests/functional/docs/test_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ def test_documentation(
# If the service has resources, make sure the service resource
# is at least documented.
if service_name in available_resources:

resource = boto3.resource(service_name, 'us-east-1')
_assert_has_resource_documentation(
generated_docs, service_name, resource
Expand Down
1 change: 0 additions & 1 deletion tests/functional/dynamodb/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@


class TestTableResourceCustomizations(unittest.TestCase):

maxDiff = None

def setUp(self):
Expand Down
1 change: 0 additions & 1 deletion tests/unit/dynamodb/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@


class BaseTransformationTest(unittest.TestCase):

maxDiff = None

def setUp(self):
Expand Down

0 comments on commit a3e710d

Please sign in to comment.