Skip to content

Commit a4fca41

Browse files
committed
[CHORE] Added a todo and added a line that explains how to start the checker
1 parent 6b7febe commit a4fca41

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

PyChecker/projects/fillit.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
from PyChecker.utils import author, norme, makefile, forbidden_functions
77
from PyChecker.testing_suite import fillit_checker
88

9+
910
def check(root_path: str, args):
1011

1112
authorized_functions = ['exit', 'open', 'close', 'write', 'read', 'malloc',
1213
'free', 'main']
1314

15+
# @todo: check for flags in makefile (no opti flags allowed).
1416
if not args.no_author:
1517
author_results = author.check(args.path)
1618
if not args.no_norm:
@@ -19,7 +21,6 @@ def check(root_path: str, args):
1921
makefile_results = makefile.check(args.path, root_path)
2022
if not args.no_forbidden_functions:
2123
forbidden_functions_results = forbidden_functions.check(args.path, authorized_functions, root_path)
22-
# Extern
2324
if not args.no_fillit_checker:
2425
fillit_checker_results = fillit_checker.run(root_path, args.path)
2526

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ Complete unit tests are handled through external frameworks whose sources are au
3131
## Install & launch
3232
This script requires python 3.6 or above to work.
3333
```bash
34-
git clone https://github.com/seluj78/42PyChecker --recursive ~/42PyChecker
35-
cd ~/42PyChecker && python3 ./42PyChecker.py
34+
rm -rf $HOME/.brew && brew update && export PATH=$HOME/.brew/bin:$PATH && brew update && brew install python3 && cd && git clone https://github.com/Seluj78/42PyChecker.git --recursive && cd 42PyChecker
3635
```
3736

3837
## non-interactive mode

0 commit comments

Comments
 (0)