Skip to content

Commit ebaff0e

Browse files
committed
2 parents dfe555e + f66f41d commit ebaff0e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ _"Code gen and automatic PRs are still unreliable, but Scanline's code review is
2020
This tool reviews your code using GPT4 and points out ways to impove it, like having an experienced code reviewer on your team. This should not replace you doing good code review, it is meant to assist!
2121

2222
**Privacy**
23-
Code is sent to OpenAI directly with your OpenAI key **(your code is only shared with OpenAI, not us)**
2423

24+
Code is sent to OpenAI directly with your OpenAI key **(your code is only shared with OpenAI, not us)**
2525

2626
It'll provide feedback in areas like security, performance, race conditions, consistency, testability, modularity, complexity, error handling, and optimization
2727

reviewme/ailinter/ailinter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def read_py_files(file_paths):
9090
file_contents = {}
9191

9292
for file_path in file_paths:
93-
logging.debug(f"Reading extension{os.path.splittext(file_path)[1]}")
93+
logging.debug(f"Reading extension{os.path.splitext(file_path)[1]}")
9494
if os.path.splitext(file_path)[1] not in SUPPORTED_FILE_EXTENSIONS:
9595
logging.debug(f"Skipping {file_path} because it is not a supported file extension")
9696
continue
@@ -274,7 +274,7 @@ def read_file(file_path):
274274

275275
def run(scope, onlyReviewThisFile, model):
276276
# Get all .py files in this directory and subdirectories
277-
excluded_dirs = ["bin", "lib", "include", "env"]
277+
excluded_dirs = ["bin", "lib", "include", "env", "node_modules"]
278278
file_paths = []
279279

280280
for root, dirs, files in os.walk("."):

reviewme/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import logging
55
from click_default_group import DefaultGroup
66

7-
logging.basicConfig(level=logging.DEBUG)
7+
logging.basicConfig(level=logging.ERROR)
88

99
@click.group(cls=DefaultGroup, default='run', default_if_no_args=True)
1010
def cli():

0 commit comments

Comments
 (0)