Commit Graph

22 Commits

Author SHA1 Message Date
Brian Gesiak
c9000af795 Merge pull request #1526 from practicalswift/fix-pep8-violations-ii
[Python] Fix five classes of PEP-8 violations (E101/E111/E128/E302/W191)
2016-03-08 23:55:46 -05:00
practicalswift
265835fdfc [Python] Use consistent import ordering for Python code
Ordering used:
1.) standard library imports
2.) third party imports
3.) local package imports

Each group is individually alphabetized.
2016-03-07 23:25:16 +01:00
practicalswift
183da818df [Python] Fix five classes of PEP-8 violations (E101/E111/E128/E302/W191)
* E101: indentation contains mixed spaces and tabs
* E111: indentation is not a multiple of four
* E128: continuation line under-indented for visual indent
* E302: expected 2 blank lines, found 1
* W191: indentation contains tabs
2016-03-07 22:36:23 +01:00
practicalswift
04afd6e640 [Python] Improve consistency: "block comment should start with '# '" (PEP-8) 2016-03-05 14:03:16 +01:00
Jordan Rose
9c37cb6a7b [Sphinx] Fix the copyright year to always be the current year.
This is what we were doing manually anyway.
2016-02-12 18:43:15 -08:00
practicalswift
33452564f6 PEP8: Fix violations of type "continuation line under-indented for hanging indent" (E121) 2016-01-24 09:47:53 +01:00
practicalswift
1cd4d4e9c9 [gardening] Fix violations of non-controversial PEP8 rules
Fixes:
* multiple statements on one line (colon) (E701)
* missing whitespace around arithmetic operator (E226)
* missing whitespace around operator (E225)
* closing bracket does not match visual indentation (E124)
* blank line contains whitespace (W293)
* continuation line missing indentation or outdented (E122)
* continuation line over-indented for hanging indent (E126)
* missing expected blank line (E301)
* trailing whitespace (W291)
* unexpected spaces around keyword / parameter equals (E251)
* whitespace after '(', '[' or '{' (E201)
* whitespace before ')', ']' or '}' (E202)
* whitespace before ',' or ':' (E203)
2016-01-23 09:23:33 +01:00
Dmitri Gribenko
3cf4dd36a1 Update language version to 3.0 2016-01-19 19:59:05 -07:00
practicalswift
cd337dc83b Remove unused imports. 2015-12-21 10:24:08 +01:00
Justas Brazauskas
7b941a6e9e Fixed typos in ./docs 2015-12-10 10:11:21 +02:00
Ted Kremenek
4c12a1278a Bump Swift version to '2.2'. 2015-11-17 22:19:33 -08:00
Jordan Rose
de15f8a3b5 [docs] Move several historical-interest-only docs to an archive/ subfolder. 2015-11-05 08:52:51 -08:00
Slava Pestov
fc1e8482c1 Copyright year
Swift SVN r31966
2015-09-15 18:58:54 +00:00
Ted Kremenek
8741999517 Update Swift version for docs to 2.1
Swift SVN r31853
2015-09-10 06:41:30 +00:00
Slava Pestov
977a0876f2 Documentation pages still had "Swift 1.0" in the title
Swift SVN r31688
2015-09-04 02:08:56 +00:00
Dave Abrahams
8c04ba6166 Docs: switch links to a subtler color
Red hurts text readability when it occurs inline

Swift SVN r25303
2015-02-15 22:51:39 +00:00
Dave Abrahams
cb8397a2c6 Docs: Default to highlighting code as Swift
Swift SVN r25301
2015-02-15 22:51:37 +00:00
Jordan Rose
0606251fc4 [docs] Use the same theme as our internal docs.
In particular, this uses normal HTML bullets instead of images so that
rich text copy/paste works correctly.

Swift SVN r23376
2014-11-17 19:42:00 +00:00
Jordan Rose
a526eaea4f [docs] Bump copyright.
Swift SVN r18967
2014-06-18 00:03:27 +00:00
Ted Kremenek
4a211bcb9a Change docs version to "1.0" to match "Swift 1.0". Copyright is also to Apple.
Swift SVN r6934
2013-08-06 06:08:54 +00:00
Dave Abrahams
05eeba93f4 Turn on ReST error checking in CMake documentation builds
(it was already on in Makefile builds)

Also, fix the ReST errors it found.

Also, monkeypatch pygments so it can see our lexers when we build
documentation.  This keeps all doc builds from producing heaps of
warnings.

Swift SVN r6023
2013-07-05 22:33:50 +00:00
Daniel Dunbar
1eeecdd874 Change Swift docs to use Sphinx.
- I've converted every document except the LangRef, which is more trouble to
   convert because of the use of styling to embed notes.
 - 'make html' with sphinx-build in your path to build the docs.

Now back to my regularly scheduled breaking things. :)

Swift SVN r2410
2012-07-23 18:50:00 +00:00