Skip to content

Commit

Permalink
Fix module detected as 3rd party in tests for ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
sansmoraxz committed May 28, 2023
1 parent e838f3d commit c2216de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ skip-string-normalization = 1
[tool.ruff]
# https://beta.ruff.rs/docs/rules/
select = ["ALL"]
# set root level
src = ["."]


# It appears that a single "Q" ignores all codes that start with Q
Expand Down
3 changes: 2 additions & 1 deletion tests/test_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
import boto3
import botocore
import numpy as np
from lamb2numb.lambda_handler import lambda_handler
from moto import mock_s3, mock_sqs

from lamb2numb.lambda_handler import lambda_handler

BUCKET_NAME = 'aws-test-bucket-us-esat-145-234'
FILE_NAME = 'my-array.npy'
ARR_SIZE = 1E2
Expand Down

0 comments on commit c2216de

Please sign in to comment.