Commit Graph

348 Commits

Author SHA1 Message Date
Benjamin Lee 2bcf5e9a82 Fix grammar mistake
No comma before "and": https://www.grammarly.com/blog/comma-before-and/
2019-01-10 11:38:36 -06:00
Marc Poulin 979b4cdfbd Merge pull request #953 from apjanke/global-vs-caller-namespace
Use "local" instead of "global" to describe where imports go
2018-12-28 08:46:29 -07:00
Andrew Janke d012a66ed6 Use "local" instead of "global" to describe where imports go 2018-12-27 13:10:21 -05:00
Marc Poulin 705e90ef43 Merge branch 'master' into standard-american-english 2018-12-20 15:03:09 -07:00
Andrew Janke a2555b9852 Standardize on American English for the Guide 2018-12-18 02:32:06 -05:00
Andrew Janke eb6ec70706 Typo, grammar, and style fixes 2018-12-17 17:23:26 -05:00
Marc Poulin 35c13bc9ea Fixed all H2 headings
Before, H2 fomratting was not consistent.
Now, all H2 headings use over/under asterisks.
2018-12-04 13:44:41 -07:00
Marc Poulin 29be1ba532 Capitalize CPU and I/O 2018-09-25 13:36:31 -06:00
Marc Poulin 71b2afae23 Deleted first paragraph
The subject of this section is finding examples of excellent code, not "readability matters".
2018-09-24 14:29:11 -06:00
Marc Poulin 3bdbae8d8c Fixed grammar. 2018-09-24 13:58:49 -06:00
Marc Poulin 5d0541cbea Added missing comma 2018-09-24 13:52:20 -06:00
Marc Poulin 1d1ebf540d Side effects of changing a list 2018-09-14 11:20:53 -06:00
Marc Poulin dc078e1a66 Cleaned up some wording 2018-09-14 11:11:16 -06:00
Marc Poulin 6d8a602a0c Cleaned up formatting and grammar 2018-09-14 10:46:54 -06:00
Marc Poulin 29abc5acf3 Modifying the values in a list
To avoid side effects, don't modify the original list. Create a new list instead.
2018-09-13 11:28:43 -06:00
Marc Poulin e69d7e7657 2.x vs 3.x, lists vs. iterators
Describe the differences between 2.x and 3.x and suggest situations when iterators would be more appropriate than lists.
2018-09-13 11:00:37 -06:00
Marc Poulin 436dec875c Issue 796, clarify ways to manipulate a list 2018-09-11 15:52:31 -06:00
Dan Bader 03ed5fbf0d Host photos locally 2018-07-16 17:51:29 -07:00
adamdonahue b3141fe7a4 Remove non-contextual embedded video.
Remove a non-contextual embedded video that itself has multiple errors.  It confuses things, at best.
2018-05-28 15:04:00 -04:00
cclauss cf980344d0 print() function in gotchas.rst 2018-04-24 19:27:36 -06:00
Moritz Reiter c78a2e4f7f Fix link to the tests section 2018-02-19 09:36:32 +01:00
Prodesire 59757273d0 fix make error on ci.rst and tests.rst 2017-12-04 22:17:08 +08:00
Zac-HD ce7530bc70 New testing tool: Hypothesis
Based on README at https://github.com/HypothesisWorks/hypothesis-python
2017-11-27 13:58:59 +11:00
Zac-HD 9c6f2b79ad Cross-reference structure tests to writing tests
Closes #806
2017-11-27 13:25:47 +11:00
Zac-HD eaaddf5931 Nose is deprecated, remove suggestion
https://nose.readthedocs.io now suggests using nose2, which
https://github.com/nose-devs/nose2 in turn has ceased feature
development due to the popularity of py.test.

Closes #683
2017-11-27 13:25:30 +11:00
Josh 65c8a8ccd7 Update structure.rst - fix indentation bug 2017-11-13 16:18:22 -08:00
kikisdeliveryservice d6982f162f add internal link to version control ignores 2017-10-31 09:22:02 -07:00
Steven Barre 28525be1c1 Typo fix 2017-09-21 16:40:58 -07:00
kennethreitz 223cfa99ad Update tests.rst 2017-09-04 16:50:56 -04:00
kennethreitz 1d6412eeb5 Update structure.rst 2017-09-04 16:50:21 -04:00
kennethreitz 6305cefad7 Update tests.rst 2017-09-04 16:50:01 -04:00
kennethreitz 9c0c28d604 Update tests.rst 2017-09-04 16:49:37 -04:00
kennethreitz 18fc51467b Update reading.rst 2017-09-04 16:48:40 -04:00
kennethreitz 7fefdb03dd Update license.rst 2017-09-04 16:48:11 -04:00
kennethreitz 088bbe9839 Update documentation.rst 2017-09-04 16:47:23 -04:00
kennethreitz e2ccc68cc2 Update style.rst 2017-09-04 16:46:37 -04:00
kennethreitz 4c37b093b0 Update logging.rst 2017-09-04 16:45:34 -04:00
kennethreitz 62e047405d Update gotchas.rst 2017-09-04 16:44:59 -04:00
kennethreitz e8ae202725 Update structure.rst 2017-09-04 16:44:26 -04:00
Vivek Joshy ec5f791c69 Correct typo
Change looks to look
2017-08-11 06:01:03 -04:00
daegontaven 7be51790e4 Add version control ignores to gotchas 2017-08-11 01:46:24 -04:00
Harry Moreno 6776b2ff22 Fix grammar 2017-07-31 17:01:06 -04:00
Sharlak d39c485d16 clarified module naming re: underscores 2017-07-30 21:57:19 +01:00
Daniel Andersson 3f8f2fd739 pep8 is nowadays called pycodestyle
See <https://github.com/PyCQA/pycodestyle/issues/466>. Pointing towards
the `pep8` tool risks leading users to outdated versions of the tool
(the last `pep8` version is 1.7.0 from January 2016; the currently
latest `pycodestyle` version is 2.3.0).
2017-05-25 19:40:08 +02:00
sbstn mssr 62956e9c8b pytest url fix
pytest site url was brokenly pointing to https://docs.pytest.org/latest/.
2017-05-08 16:36:27 -04:00
monchitos 6e0c78df7b Adding a reminder for preventing a misuse of the example in "common gotchas/mutable default arguments" 2017-04-18 10:02:15 -05:00
kennethreitz db83c8f368 Merge pull request #798 from userlerueda/patch-1
Update logging.rst
2017-03-10 11:46:56 -05:00
kennethreitz 885185a5a0 Merge pull request #800 from thinkerbot/patch-1
Indentation typo
2017-03-10 11:45:39 -05:00
tv3141 f3bf91acec tests: use __file__ for package import 2017-02-28 11:33:48 +00:00
Simon Chiang d1f24121ef Indentation typo 2017-02-24 08:21:52 -07:00