Marius Gedminas
391bd5882a
Merge pull request #394 from gbabin/fix-translations-encoding
...
Fix translations encoding (issue #165 )
2020-05-19 18:53:06 +03:00
Marius Gedminas
e6e969f975
Merge pull request #391 from linkchecker/dev-version
...
Bump version in git to 10.0.0.dev0
2020-05-19 18:49:34 +03:00
Chris Mayo
ce0a151c8a
Merge pull request #393 from cjmayo/tidyten10
...
Assorted test tidy-ups
2020-05-18 19:16:44 +01:00
Guillaume Babin
1cda677bac
Make po/Makefile version-agnostic
...
Co-authored-by: Marius Gedminas <marius@gedmin.as>
2020-05-18 18:24:36 +02:00
gbabin
fc763be5a2
Make translations
2020-05-18 13:33:12 +02:00
gbabin
ede0b149fd
Fix .mo makefile
2020-05-18 13:32:28 +02:00
gbabin
d339c61602
Fix #165 translations encoding
2020-05-18 12:58:45 +02:00
Chris Mayo
12fd59057e
Remove duplicate tests from test_strformat.py
2020-05-17 20:10:28 +01:00
Chris Mayo
339d293326
Convert tests/test_po.py to UTF-8
2020-05-17 20:10:28 +01:00
Chris Mayo
04465530c4
Use HttpServerTest.get_url()
2020-05-17 20:10:28 +01:00
Chris Mayo
58dbe1f282
Remove unused import pytest from tests/checker/test_http.py
...
pytest.mark.xfail() removed in:
743a5f31 ("Crawl HTML attributes in deterministic order", 2017-02-01)
2020-05-17 20:10:28 +01:00
Marius Gedminas
5317347e54
Avoid distutils.version.StrictVersion
...
distutils.version is old code that predates PEP 440. We could add a
dependency on https://packaging.pypa.io/en/latest/version/ , but meh.
2020-05-17 21:12:43 +03:00
Chris Mayo
52dc90255a
Merge pull request #390 from cjmayo/viruscheck
...
Add a test for VirusCheck
2020-05-17 19:08:49 +01:00
Chris Mayo
79eafee826
Add a test for VirusCheck
2020-05-17 19:04:49 +01:00
Marius Gedminas
05c02da2b0
Bump version in git to 10.0.0.dev0
...
It is confusing to have different versions of the code self-identify
with the same version number. In my experience it's always best to
increment the version number and add a .dev0 suffix right after making a
release. When it's time to make a new release, you remove the .dev0,
commit, tag that commit, then make second commit that bumps the version
and adds .dev0 back.
This way only releases identify themselves as "version X.Y.Z" with no
.dev0 suffix and it's immediatelly apparent when you've got a prerelease
installed from git.
2020-05-17 20:06:50 +03:00
Marius Gedminas
bb53aaa621
Fix viruscheck plugin
...
The clamav interface needs bytes, not unicode.
It would be nice if we had tests for this code.
2020-05-17 17:50:11 +01:00
Chris Mayo
1e35530f9d
Merge pull request #388 from cjmayo/tidyten9
...
Remove spaces after names
2020-05-17 17:34:04 +01:00
Chris Mayo
a15a2833ca
Remove spaces after names in class method definitions
...
And also nested functions.
This is a PEP 8 convention, E211.
2020-05-16 20:19:42 +01:00
Chris Mayo
1663e10fe7
Remove spaces after names in function definitions
...
This is a PEP 8 convention, E211.
2020-05-16 20:19:42 +01:00
Chris Mayo
fc11d08968
Remove spaces after names in class definitions
2020-05-16 20:19:42 +01:00
Chris Mayo
16fe12fb50
Merge pull request #387 from cjmayo/tidyten8
...
Remove Python 2 Unicode string conversions
2020-05-16 20:15:41 +01:00
Chris Mayo
1416a08119
On Python 3 no need to convert os.linesep to a string
2020-05-16 17:02:01 +01:00
Chris Mayo
10552a79c7
Remove LinkCheckTest.fail_unicode()
...
No need to encode Python 3 strings before output.
2020-05-16 17:02:00 +01:00
Chris Mayo
0752408a44
Remove Python 2 use of sys.stdout in i18n.get_encoded_writer()
2020-05-16 17:02:00 +01:00
Chris Mayo
2c2e7e55ac
Remove CSVLogger.encode_row_s()
...
Introduced during Python 3 conversion to maintaint Python 2 support:
55a7973b ("Python3: fix csvlog", 2016-12-04)
2020-05-16 17:02:00 +01:00
Chris Mayo
ed13a926d3
Remove setting Python 2 xmlparser.returns_unicode
2020-05-16 17:02:00 +01:00
Chris Mayo
a56b8d6456
Merge pull request #385 from cjmayo/tidyten7
...
Remove Python 2 imports
2020-05-16 16:33:46 +01:00
Chris Mayo
9f95d06a39
Remove Python 2 test.test_support import
2020-05-16 16:26:38 +01:00
Chris Mayo
025637b08d
Remove Python 2 cookielib import
2020-05-16 16:26:38 +01:00
Chris Mayo
1e277444f4
Remove Python 2 thread import
2020-05-16 16:26:34 +01:00
Chris Mayo
dcbddfe045
Remove Python 2 ConfigParser import
2020-05-15 19:37:04 +01:00
Chris Mayo
f8c9faec1b
Remove Python 2 cStringIO imports
2020-05-15 19:37:04 +01:00
Chris Mayo
f3eb787014
Merge pull request #382 from cjmayo/tidyten5
...
Make urllib imports and html.escape Python 3 only
2020-05-15 19:15:47 +01:00
Chris Mayo
bda9612273
Make html.escape Python 3 only
2020-05-14 20:15:28 +01:00
Chris Mayo
42de609f8e
Make urllib imports Python 3 only
2020-05-14 20:15:28 +01:00
Chris Mayo
3c661a83d0
Replace parse_host_port() in checker.proxysupport with url.splitport()
2020-05-14 20:15:28 +01:00
Chris Mayo
91a069ac90
Merge pull request #380 from cjmayo/tidyten4
...
linkchecker and setup.py tidy up
2020-05-14 19:48:02 +01:00
Chris Mayo
40f7c44703
Ensure the Python 3 interpreter is used
2020-05-14 19:39:45 +01:00
Chris Mayo
c80002437e
Update run-time version check
2020-05-13 19:50:19 +01:00
Chris Mayo
5300702991
Get yappi working with Python 3
2020-05-13 19:50:19 +01:00
Chris Mayo
adcc3e5690
Remove -R from linkchecker shebang
...
This turned on hash randomization in Python 2 (>=2.6.8), in Python 3
this is enabled by default, unless PYTHONHASHSEED is 0.
2020-05-13 19:50:19 +01:00
Chris Mayo
77de1545ef
Use setuptools.find_packages()
2020-05-13 19:50:19 +01:00
Chris Mayo
08ddf658bc
Merge pull request #366 from cjmayo/userorpwd
...
Support login forms with user and/or password
2020-05-13 19:37:44 +01:00
Chris Mayo
736c893707
Merge pull request #377 from cjmayo/tidyten3
...
Remove u string prefixes
2020-05-13 19:36:54 +01:00
Chris Mayo
00c4a30386
Add user and password only loginurl tests
2020-05-13 19:32:29 +01:00
Chris Mayo
3ace021264
Support login forms with user and/or password
2020-05-13 19:32:25 +01:00
Chris Mayo
31a9f68c46
Merge pull request #367 from cjmayo/loginurl
...
Add test for loginurl
2020-05-12 20:08:57 +01:00
anarcat
8d41f4a86b
Merge pull request #376 from cjmayo/tidyten2
...
Remove # -*- coding: lines and inheriting object
2020-05-11 13:29:04 -04:00
Marius Gedminas
f82e10cd39
Merge pull request #379 from dcycle/python3
...
Update README and Dockerfile with Python 3
2020-05-10 12:15:57 +03:00
alberto56
1ebc6a1431
use python3 in readme and dockerfile
2020-05-09 08:03:23 -04:00