Michael Hudson-Doyle
|
21cfd681b9
|
fix guess(non-string) with Python 3.6
The os.path.* functions now consistently raise TypeError rather than something
more random when called with inappropriate types.
Fixes #6
|
2017-07-14 11:16:57 +12:00 |
Martin A. Brown
|
8a554a430d
|
adding 2016 LDP copyright to each file
|
2016-04-29 11:02:02 -04:00 |
Martin A. Brown
|
8de5158eb7
|
flakes noticed an extra import, removing
|
2016-03-28 11:10:45 -07:00 |
Martin A. Brown
|
e4b5c5d8bb
|
need to fall back to iso-8859-1 for SGML docs
|
2016-03-15 13:26:03 -07:00 |
Martin A. Brown
|
2afbc7a147
|
switch to codecs.open and expect UTF-8 data
|
2016-03-14 21:42:21 -07:00 |
Martin A. Brown
|
26de64a2bb
|
stop leaking FDs when guessing doctypes
|
2016-03-14 20:32:42 -07:00 |
Martin A. Brown
|
16885508da
|
pep8/pyflakes
|
2016-02-29 20:33:14 -08:00 |
Martin A. Brown
|
f40ff2f915
|
unused function
|
2016-02-26 12:21:04 -08:00 |
Martin A. Brown
|
65a80f1339
|
add __name__ to getLogger() calls
|
2016-02-25 12:29:55 -08:00 |
Martin A. Brown
|
859b7f893f
|
pull logger straight from logging; use abs imports
|
2016-02-25 11:39:18 -08:00 |
Martin A. Brown
|
81375b84c5
|
revert to name knowndoctypes (classes only)
no need to itemize knowndoctypemodules after moving the config_fragment
functions to the staticmethod argparse on each class
|
2016-02-25 10:37:45 -08:00 |
Martin A. Brown
|
eb4e3d8c38
|
inspect for classes and modules
|
2016-02-25 09:51:17 -08:00 |
Martin A. Brown
|
6762743f66
|
docstrings for functions
|
2016-02-18 23:07:44 -08:00 |
Martin A. Brown
|
809ddc545b
|
adding # -*- coding: utf8 -*-
|
2016-02-18 13:25:02 -08:00 |
Martin A. Brown
|
20ae6bd25c
|
add stem to logging entries
for consistency, make sure that stem is included on logging lines
|
2016-02-18 09:16:45 -08:00 |
Martin A. Brown
|
23a5e40d52
|
shortening knowndoctypes to kdt
|
2016-02-16 23:42:57 -08:00 |
Martin A. Brown
|
236ae3cbd4
|
skip files with no extension (and complain)
|
2016-02-12 23:14:51 -08:00 |
Martin A. Brown
|
ad73629413
|
returning the wrong answer... get the FIRST answer (yay for testing)
|
2016-02-12 23:00:30 -08:00 |
Martin A. Brown
|
4d0c6f1f1f
|
renaming guess.py to typeguesser.py
|
2016-02-12 12:42:34 -08:00 |