2727Contributing
2828============
2929
30- Welcome to ``check-python-h-first `` contributor's guide.
30+ Welcome to the ``check-python-h-first `` contributor's guide.
3131
3232This document focuses on getting any potential contributor familiarized
3333with the development processes, but `other kinds of contributions `_ are also
@@ -106,11 +106,16 @@ and use Python's built-in web server for a preview in your web browser
106106Code Contributions
107107==================
108108
109- .. todo :: Please include a reference or explanation about the internals of the project.
110-
111- An architecture description, design principles or at least a summary of the
112- main concepts will make it easy for potential contributors to get started
113- quickly.
109+ - ``src/check_python_h_first/single_file.py `` contains the checks for
110+ a single file
111+ - ``src/check_python_h_first/wrapper.py `` contains functions to sort a
112+ list of files, send the result to the functions in
113+ ``single_file.py ``, and aggregate the results.
114+ - ``src/check_python_h_first/get_submodule_paths.py `` contains checks
115+ for files managed by different repositories.
116+ - ``src/check_python_h_first/__main__.py `` provides a command-line
117+ interface.
118+ - The docs are under ``docs ``
114119
115120Submit an issue
116121---------------
@@ -151,7 +156,6 @@ Clone the repository
151156
152157 to be able to import the package under development in the Python REPL.
153158
154- .. todo:: if you are not using pre-commit, please remove the following item:
155159
156160#. Install |pre-commit |_::
157161
@@ -182,8 +186,6 @@ Implement your changes
182186
183187 to record your changes in git_.
184188
185- .. todo:: if you are not using pre-commit, please remove the following item:
186-
187189 Please make sure to see the validation messages from |pre-commit|_ and fix
188190 any eventual issues.
189191 This should automatically use flake8_/black_ to check/fix the code style
@@ -218,11 +220,10 @@ Submit your contribution
218220#. Go to the web page of your fork and click |contribute button |
219221 to send your changes for review.
220222
221- .. todo :: if you are using GitHub, you can uncomment the following paragraph
222-
223- Find more detailed information in `creating a PR `_. You might also want to open
224- the PR as a draft first and mark it as ready for review after the feedbacks
225- from the continuous integration (CI) system or any required fixes.
223+ Find more detailed information in `creating a PR `_. You might also
224+ want to open the PR as a draft first and mark it as ready for
225+ review after the feedbacks from the continuous integration (CI)
226+ system or any required fixes.
226227
227228
228229Troubleshooting
@@ -302,7 +303,7 @@ on PyPI_, the following steps can be used to release a new version for
302303
303304
304305
305- .. [#contrib1 ] Even though, these resources focus on open source projects and
306+ .. [#contrib1 ] Even though these resources focus on open source projects and
306307 communities, the general ideas behind collaborating with other developers
307308 to collectively create software are general and can be applied to all sorts
308309 of environments, including private companies and proprietary code bases.
@@ -314,8 +315,8 @@ on PyPI_, the following steps can be used to release a new version for
314315.. |the repository service | replace :: GitHub
315316.. |contribute button | replace :: "Create pull request"
316317
317- .. _repository : https://github.com/<USERNAME> /check-python-h-first
318- .. _issue tracker : https://github.com/<USERNAME> /check-python-h-first/issues
318+ .. _repository : https://github.com/DWesl /check-python-h-first
319+ .. _issue tracker : https://github.com/DWesl /check-python-h-first/issues
319320.. <-- end -->
320321
321322
0 commit comments