Skip to content

Commit

Permalink
Merge pull request #810 from spectacles-ci/dependabot/pip/black-24.8.0
Browse files Browse the repository at this point in the history
Bump black from 23.12.1 to 24.8.0
  • Loading branch information
DylanBaker authored Oct 1, 2024
2 parents 5734071 + aec1811 commit 37b5a52
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ exclude = .git,__pycache__,docs,build,dist
builtins = unicode
tee = True
select = C,E,F,W,B,B950
ignore = E203,E501,W503
ignore = E203,E501,W503,E701
max-line-length = 88
48 changes: 24 additions & 24 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ typing-extensions = "^4.9.0"

[tool.poetry.group.dev.dependencies]
bandit = "^1.7.7"
black = "^23.12.1"
black = ">=23.12.1,<25.0.0"
flake8 = "^7.0.0"
isort = "^5.13.2"
jsonschema = "^4.21.1"
Expand Down
3 changes: 1 addition & 2 deletions spectacles/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ def to_dict(self) -> dict[str, Any]:
return {k: v for k, v in self.__dict__.items() if not k.startswith("_")}


class LookMlNotFound(SpectaclesException):
...
class LookMlNotFound(SpectaclesException): ...


class LookerApiError(SpectaclesException):
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/test_lookml.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ def test_comparison_to_mismatched_type_object_should_fail(
) -> None:
lookml_obj = request.getfixturevalue(obj_name)

class SomethingElse:
...
class SomethingElse: ...

assert lookml_obj != 1
assert lookml_obj != "foo"
Expand Down

0 comments on commit 37b5a52

Please sign in to comment.