Repository navigation
Conversation
This information should all be in the doc guide.
Codecov Report
@@ Coverage Diff @@
## main #1305 +/- ##
=======================================
Coverage 97.09% 97.09%
=======================================
Files 81 81
Lines 7679 7679
=======================================
Hits 7456 7456
Misses 223 223 Continue to review full report at Codecov.
|
|
Reminders to myself:
|
|
I'm wondering about splitting it into two files. This PR is still in its early stages so we'll see.
|
How to import functionality from
|
|
Add that we can use tools like WebPlotDigitizer to get values from graphs. Was used in #1189. |
| * The `Python Standard Library`_ contains numerous components. Some of | ||
| the ones used in PlasmaPy are: | ||
|
|
||
| - `collections` — Container datatypes | ||
| - `collections.abc` — Abstract base classes | ||
| - `contextlib` — Utilities for ``with`` statement contexts | ||
| - `dataclasses` — Data classes | ||
| - `functools` — Higher-order functions and operations on callable objects | ||
| - `glob` — Unix style pathname pattern expansion | ||
| - `inspect` — Inspect live objects | ||
| - `itertools` — Functions creating iterators for efficient looping | ||
| - `json` — JSON encoder and decoder | ||
| - `numbers` — Numeric abstract base classes, often used for type hint annotations | ||
| - `os` — Miscellaneous operating system interfaces | ||
| - `pdb` — The Python debugger | ||
| - `re` — Regular expression operations | ||
| - `string` — Common string operations | ||
| - `sys` — System-specific parameters and functions | ||
| - `typing` — Support for type hints | ||
| - `warnings` — Warning control |
There was a problem hiding this comment.
I don't think this section is necessary - there are plenty of resources for the Python STL and it's not really relevant to, to quote, common conventions, guidelines, and strategies for contributing code!
There was a problem hiding this comment.
Yeah, I was going back and forth on this one. My main motivation for including this is that I've been slow to learn about and appreciate everything that's in the STL. I think I'll drop the list, but include a link to the STL and say that it's worth learning more about.
| An `integrated development environment`_ (IDE) is an application that | ||
| includes multiple tools needed for software development, such as a | ||
| source code editor, test automation tools, and a debugger. Commonly used | ||
| IDEs for Python include PyCharm_, `Visual Studio Code`_, and Atom_. |
There was a problem hiding this comment.
Atom is now passè and at EOL given that its crew got absorbed into the VSCode team, IIRC.
Also could be just cut, I think, for same reason as the above.
|
|
|
|
|
Thinking about this more, it's probably a better idea to break this up into multiple, smaller pull requests. |
|
Closing this in favor of a few separate pull requests (see above). The two main sections that I haven't moved over are on:
The paragraph on IDEs could perhaps be shortened and put in #1656. Right now I'm not planning on putting the section on the Python standard library anywhere else, but it might be worth thinking about again in shorter form if we add a resources page to the contributor guide. |
This PR is going to be an update of the code guide that follows up on #1156, #1163, and #1198. This falls under #1117.
I'm starting it now since I wanted to make sure to talk about making comments future-proof (inspired by this comment), but I'm guessing I won't finish it in 2021 😬 .
This might be a good PR in which to address #582, #685, #797, #1227, and #1234...but those might wait until another PR (especially #1227). We will definitely need to talk about
validate_quantitiesandparticle_inputhere too.Closes #1214.