summaryrefslogtreecommitdiff
path: root/coverage/phystokens.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix unusual backslash token issue. #822Ned Batchelder2019-08-101-5/+4
|
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* Use a 2/3 name for unicodeNed Batchelder2016-11-231-2/+2
|
* A fix for coding declarations, bug #529Ned Batchelder2016-11-051-1/+5
|
* Fix another form-feed problem, #461Ned Batchelder2016-01-051-2/+1
|
* Fix error with double occurence of encoding declarationMax Linke2015-12-141-1/+1
| | | | | | If a file sets the encoding using both vim and emacs style we can't compile the source-code. This commit ensures that always both occurences are removed before we compile the source-code.
* Another edge case of encoding detection. #443Ned Batchelder2015-11-141-1/+1
|
* Properly handle filenames with non-ASCII characters. #432Ned Batchelder2015-10-251-0/+3
|
* Tweak neuter_encoding_declarationNed Batchelder2015-10-161-7/+2
|
* Do a better job decoding source files. #431Ned Batchelder2015-10-161-11/+5
|
* Make sure source_token_lines always returns Unicode strings for the token text.Ned Batchelder2015-08-111-1/+1
|
* Get rid of napoleon style docstrings, they don't format nicely.Ned Batchelder2015-07-261-8/+4
|
* Add license mention to the top of all files. #313.Ned Batchelder2015-07-241-0/+3
|
* Add more contractsNed Batchelder2015-06-161-3/+3
|
* Use more @contract, less assertNed Batchelder2015-05-171-1/+2
|
* Files with incorrect encoding declarations are no longer ignored. #351Ned Batchelder2015-05-171-1/+1
|
* All Python source is Unicode internally.Ned Batchelder2015-05-171-3/+39
| | | | | Unfortunately, this meant hacking around a silly Python 2 restriction (can't compile a Unicode string containing an encoding declaration).
* Fix bug with \f in HTML report. #360.Ned Batchelder2015-02-281-1/+4
|
* Collect all the nudgy environment checks into coverage.envNed Batchelder2015-01-181-2/+2
|
* Further consolidation of code reading Python source.Ned Batchelder2014-12-281-16/+0
|
* Move next/__next__ distinction into backward.pyNed Batchelder2014-12-281-7/+5
|
* Make source_encoding stricter about its arguments, and test it everywhereNed Batchelder2014-12-281-4/+15
|
* Refactor some of the encoding detectionNed Batchelder2014-12-271-15/+29
|
* Unify and clarify reading Python source. Probably broke .pyw filesNed Batchelder2014-12-261-11/+14
|
* Move some code, and fix pep8 thingsNed Batchelder2014-12-141-3/+50
|
* Source is always Unicode in HTML code. More refactoring to come.Ned Batchelder2014-12-121-0/+3
|
* Try out pylint spelling. Kinda noisy, but fixed some stuff.Ned Batchelder2014-11-271-6/+6
|
* Fix non-comment encoding detection.Anthony Sottile2014-06-291-1/+1
| | | | | --HG-- branch : fix_source_encoding
* Merged 4.0 to defaultNed Batchelder2013-12-131-8/+2
|\
| * We only run on 2.6, 2.7, 3.2, 3.3 now.Ned Batchelder2013-10-191-7/+2
| | | | | | | | | | --HG-- branch : 4.0
* | Cache generate_tokens to speed HTML reports.Ned Batchelder2013-10-261-2/+4
| |
* | Micro optimizations.Ned Batchelder2013-10-261-3/+3
|/
* Make everything work on py2.3 again (for the last time).Ned Batchelder2013-10-051-1/+3
|
* Improve and more fully test the first-blank-line decoding fix. Thanks, ↵Ned Batchelder2013-09-161-2/+2
| | | | Roger Hu.
* Make UTF-8 detection more robust.Roger Hu2013-05-251-1/+1
| | | | | If the 1st line of the Python is blank/empty, the function assumes that the encoding is 'ascii' and doesn't try for the 2nd line.
* Upgrading pylint means fixing more nits.Ned Batchelder2012-11-101-1/+1
|
* TypoNed Batchelder2012-03-251-1/+1
|
* If a source file has an encoding declaration, use it when producing the ↵Ned Batchelder2012-03-211-1/+99
| | | | HTML. Fixes issue #157.
* Pylint 0.23.0 'deprecated' disable-msg.Ned Batchelder2011-02-011-1/+1
|
* Deal properly with dos-ended source files while tokenizing. Fixes issue #53.Ned Batchelder2010-03-131-1/+2
|
* Massive eol whitespace clean-up.Ned Batchelder2009-12-021-6/+6
|
* Handle one more bizarro edge case in tokenizing source: I couldn't look at ↵Ned Batchelder2009-11-211-1/+7
| | | | my own phystokens.py file properly!
* Tabs are 8 spaces, as the Python docs dictate. Fixes issue #31.Ned Batchelder2009-11-151-1/+1
|
* Fix a problem with syntax coloring continued lines, and refactor for ↵Ned Batchelder2009-11-151-0/+101
testability, and add tests. Fixes issue #30.