Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing | Init Checker #582

Merged
merged 40 commits into from
Jan 18, 2021
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
9f6fea1
Add docformatter to pyproject.toml
Nov 18, 2020
32ad116
Add docformatter to test.sh
Nov 18, 2020
3fbaf05
Add docformatter to format.sh
Nov 18, 2020
55065c8
Add docformatter to CI
Nov 18, 2020
8362048
add init_py_check.py under src/py/flwr_tool
Jan 12, 2021
41b749a
Update init_py_check.py
Jan 12, 2021
21d5f26
Add another word to ignore_list
Jan 12, 2021
440cc0d
Add init_py_check.py to test.sh
Jan 12, 2021
7f828b0
Merge branch 'main' into init_check
CanTuerk Jan 12, 2021
21eab2f
Update init_py_check.py
Jan 12, 2021
cdb6a9c
Merge branch 'init_check' of github.com:adap/flower into init_check
Jan 12, 2021
e5014df
Update init_py_check.py
Jan 12, 2021
a3ea3b2
Update test.sh
CanTuerk Jan 12, 2021
efd153d
Update __init__.py
CanTuerk Jan 12, 2021
78664cd
Update init_py_check.py
CanTuerk Jan 12, 2021
28c425a
Delete __init__.py
CanTuerk Jan 12, 2021
63c3e9f
add init py
Jan 12, 2021
0947bb6
Merge branch 'main' into init_check
Jan 12, 2021
d5be376
update init_py_check.py
Jan 12, 2021
26520b6
Merge branch 'main' into init_check
tanertopal Jan 12, 2021
e38fc50
Delete useless init file
Jan 12, 2021
2c86549
add another element to ignore_list in init_py_Check.py
Jan 12, 2021
336dfa6
Merge branch 'init_check' of github.com:adap/flower into init_check
Jan 12, 2021
3f2eba4
update init_py_check.py
Jan 12, 2021
c29d51f
Add final newline in init_py_check.py
Jan 15, 2021
aa8af43
Remove py from ignore_list
Jan 15, 2021
93dccae
Update src/py/flwr_tool/init_py_check.py
CanTuerk Jan 15, 2021
fcdc592
Merge branch 'main' into init_check
tanertopal Jan 15, 2021
a273238
Merge branch 'init_check' of github.com:adap/flower into init_check
Jan 15, 2021
ea9602a
Merge branch 'init_check' of github.com:adap/flower into init_check
Jan 15, 2021
61d9ca4
update init_py_check.py
Jan 15, 2021
ab67eef
Merge branch 'main' into init_check
tanertopal Jan 15, 2021
ff41e8e
Run fnt
tanertopal Jan 15, 2021
29a0f1a
Merge branch 'main' into init_check
tanertopal Jan 18, 2021
1f3e2f9
Merge branch 'main' into init_check
danieljanes Jan 18, 2021
888c97a
Add missing init file
Jan 18, 2021
242c245
Merge branch 'main' into init_check
tanertopal Jan 18, 2021
99ef559
Fixes linter errors
tanertopal Jan 18, 2021
2888265
Update __init__.py
danieljanes Jan 18, 2021
6dae1f4
Update common.py
danieljanes Jan 18, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add another element to ignore_list in init_py_Check.py
  • Loading branch information
Can Tuerk committed Jan 12, 2021
commit 2c8654927b9402a1d798395a80bc8246bfbbeab5
2 changes: 1 addition & 1 deletion src/py/flwr_tool/init_py_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def check_missing_init_files(absolute_path: str) -> None:
files."""
path = os.walk(absolute_path)
warning_list = []
ignore_list = ["__pycache__$", ".pytest_cache.*$", "dist", "flwr.egg-info$"]
ignore_list = ["__pycache__$", ".pytest_cache.*$", "dist", "flwr.egg-info$", "py$"]

for dir_path, _, files_in_dir in path:
# As some directories are automatically generated we are going to ignore them
Expand Down