Skip to content

Commit

Permalink
chore: Upgrade ruff to 0.0.254 (#3014)
Browse files Browse the repository at this point in the history
  • Loading branch information
aahung committed Mar 10, 2023
1 parent 089859e commit a584f0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit a584f0e

Please sign in to comment.