@@ -12,37 +12,52 @@ figure out where you can best be helpful.
1212
1313## How to Contribute
1414
15- - ** Adding new elements** . We will be actively developing new elements
15+ - ** Adding new elements** . We will be actively developing new elements
1616 useful for Internet emulation. For example, recently we have added
1717 DNS, Botnet, Darknet components, and we are currently developing blockchain
18- components. It is these components that will make the emulator
19- more interesting and more useful.
18+ components. It is these components that will make the emulator
19+ more interesting and more useful.
2020
21- - ** Improving existing elements** : Some of the elements are currently quite rudimentary, and
22- rich features need to be added. You can help us propose and implement
23- new features to those elements.
21+ - ** Improving existing elements** : Some of the elements are currently quite rudimentary, and
22+ rich features need to be added. You can help us propose and implement
23+ new features to those elements.
2424
25- - ** Building more complicated emulation** : The Internet emulators built by the
25+ - ** Building more complicated emulation** : The Internet emulators built by the
2626 current examples included in the project are quite small. It will be useful if we can build
2727 more complicated examples, and share them as components, so others
2828 can use these components to build their emulators. In the future, we can
29- create a market place so people can share or trade their emulators.
29+ create a market place so people can share or trade their emulators.
3030
31- - ** Testing** . We definitely need more people to help test
31+ - ** Testing** . We definitely need more people to help test
3232 the code and provide feedback. You can create issues to tell us
3333 about the bugs and feedback.
34-
35- - ** Developing lab exercises** . The emulator created from this project is
34+
35+ - ** Developing lab exercises** . The emulator created from this project is
3636 intended for being used as a platform for lab exercises, especially in
3737 the field of cybersecurity and networking. The proposed lab ideas
3838 can be found in the [ labs/] ( ./labs/ ) folder. You can help develop
39- these labs or propose new ideas.
39+ these labs or propose new ideas.
40+
41+ ## Running Linters and Code Formatters
4042
43+ - ** flake8** checks compliance with the PEP 8 style guide. You can invoke it
44+ globally by running ` flake8 ` in the root of the repository or pass individual
45+ files to check. If you are using VS Code, there is also a flake8 plugin
46+ running the linter continuously in the background.
47+ - ** black** formats files or sections of code to comply with its style guideline
48+ and should fix most formatting errors that flake8 points out. You can invoke
49+ ` black ` on the command line with the path to a file to format. There are also
50+ editor plugins that allow formatting code selections easily.
51+ - ** mypy** is a static type checker that makes sure Python type annotations are
52+ correct. Running ` mypy ` in the root of the repository checks all modules in
53+ ` seedemu ` . See the [ mypy documentation] [ mypy-cli ] on how to check individual
54+ files or modules on the command line.
55+
56+ [ mypy-cli ] : https://mypy.readthedocs.io/en/stable/command_line.html
4157
4258## Community
4359
44- Discussions about the Open Source Guides take place on
45- this repository's [ Issues] ( https://github.com/seed-labs/SEEDEmulator/issues ) and [ Pull Requests] ( https://github.com/seed-labs/SEEDEmulator/pulls ) sections. Anybody is welcome to join these conversations.
60+ Discussions about the Open Source Guides take place on
61+ this repository's [ Issues] ( https://github.com/seed-labs/SEEDEmulator/issues ) and [ Pull Requests] ( https://github.com/seed-labs/SEEDEmulator/pulls ) sections. Anybody is welcome to join these conversations.
4662
4763Wherever possible, do not take these conversations to private channels, including contacting the maintainers directly. Keeping communication public means everybody can benefit and learn from the conversation.
48-
0 commit comments