Skip to content

Commit 97d362c

Browse files
committed
Update README
1 parent 5468c19 commit 97d362c

1 file changed

Lines changed: 27 additions & 4 deletions

File tree

python/README.md

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,42 @@ Provide the directory name you put the JSON file in: ../json
1616
Provide the filename of which JSON data name you would like to sort: settings.json
1717
Provide asc(default) or desc you would like to sort key-value in: asc
1818
Start exporting JSON data in ./json/settings.json
19-
Done exporting JSON data in ./json/settings.json 🎉
19+
Done export JSON data in ./json/settings.json 🎉
2020
```
2121

2222
## 4. Unit Test
2323

2424
```command
25-
$ pytest
25+
$ pytest .
2626
============================= test session starts ==============================
2727
platform linux -- Python 3.14.5, pytest-9.0.3, pluggy-1.6.0
28-
rootdir: /mnt/c/Users/binlh/Documents/development/json-data-sorters/python
28+
rootdir: json-data-sorters/python
29+
configfile: pyproject.toml
2930
collected 5 items
3031

3132
test/test_application.py ..... [100%]
3233

33-
============================== 5 passed in 0.26s ===============================
34+
============================== 5 passed in 0.39s ===============================
35+
```
36+
37+
## 5. Static Code Analysis
38+
39+
```command
40+
$ flake8 .
41+
./main.py:11:80: E501 line too long (84 > 79 characters)
42+
./main.py:13:80: E501 line too long (81 > 79 characters)
43+
./src/application.py:59:80: E501 line too long (80 > 79 characters)
44+
./src/application.py:76:80: E501 line too long (82 > 79 characters)
45+
./test/test_application.py:132:80: E501 line too long (85 > 79 characters)
46+
./test/test_application.py:139:80: E501 line too long (96 > 79 characters)
47+
./test/test_application.py:146:80: E501 line too long (84 > 79 characters)
48+
$ autoflake8 --in-place --remove-duplicate-keys --remove-unused-variables --recursive .
49+
$ autopep8 --in-place --aggressive --aggressive --recursive .
50+
```
51+
52+
## 6. Type Checks
53+
54+
```command
55+
$ mypy .
56+
Success: no issues found in 4 source files
3457
```

0 commit comments

Comments
 (0)