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

chore: Upgrade ruff to 0.0.254 #3014

Merged
merged 1 commit into from
Mar 10, 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 requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pytest-xdist>=2.5,<4
pytest-env>=0.6,<1
pytest-rerunfailures>=9.1,<12
pyyaml~=6.0
ruff==0.0.253 # loose the requirement once it is more stable
ruff==0.0.254 # loose the requirement once it is more stable

# Test requirements
pytest>=6.2,<8
Expand Down
2 changes: 1 addition & 1 deletion samtranslator/internal/schema_source/any_cfn_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

# Anything goes if has string Type but is not AWS::Serverless::*
class Resource(LenientBaseModel):
Type: constr(regex=r"^(?!AWS::Serverless::).+$") # type: ignore # noqa: forward-annotation-syntax-error
Type: constr(regex=r"^(?!AWS::Serverless::).+$") # type: ignore