Florian Bruhin
fb20352e3f
build_release: Add smoke test for OS X
...
This should prevent something like #1686 in the future.
2016-07-26 16:10:25 +02:00
Florian Bruhin
614794a62a
link_pyqt: Use PyQt5.QtCore to find PyQt5 path
...
For some reason on OS X, PyQt5.__file__ does not exist as it's a
namespace package.
2016-07-26 13:59:25 +02:00
Florian Bruhin
f4f6a3dac1
Merge branch 'open-download' of https://github.com/Kingdread/qutebrowser into Kingdread-open-download
2016-07-26 10:32:34 +02:00
Florian Bruhin
04fdce9058
Close file stream in qute_pylint.modeline
2016-07-23 17:00:05 +02:00
Florian Bruhin
6f65973237
Adjust freeze_tests for cherrypy.wsgiserver merge
2016-07-15 17:05:41 +02:00
Florian Bruhin
701c2fe7d0
appveyor: Don't patch registry
...
In newer Appveyor images, only a key for Python 3.5 exists here.
2016-07-15 17:05:16 +02:00
Florian Bruhin
d079caafa8
Add possibility to disable spellcheck
2016-07-15 00:07:37 +02:00
Jan Verbeek
bbc46d28ff
Use lists instead of tuples for comparing
...
Per one of the diff comments on #1597 :
> I used to use a tuple for constant things, but nowadays I'd actually
> prefer a list as a tuple is something more heterogeneous (i.e. it
> makes sense to have a `(x, y)` point as a tuple, but a list of points
> would be a list).
> At some point I should probably change it to a list everywhere 😉
2016-07-12 22:05:32 +02:00
Daniel Schadt
220203dd9c
spellchecker: mark "occurs" as correct
...
See http://www.thefreedictionary.com/occur
2016-07-12 16:52:01 +02:00
Florian Bruhin
37d20023b3
Remove now unneeded vulture ignore
...
We're now using __slots__
2016-07-08 10:10:08 +02:00
Florian Bruhin
3fe851ed84
Temporarily remove tab.py from perfect_files
...
We have things like the mousewheel event handling in there which we
can't easily test just yet.
2016-07-07 18:32:52 +02:00
Florian Bruhin
ec053f8007
Simplify TabData implementation
...
This uses direct attributes instead of self._data which means we can
only override __setattr__, and pylint will better understand what's
happening.
2016-07-07 18:32:52 +02:00
Florian Bruhin
4305966f7b
Add WrapperLayout/AbstractTab
2016-07-07 18:32:52 +02:00
Florian Bruhin
a58c3ff0c6
Print some version numbers in travis_install.sh
2016-07-06 22:25:14 +02:00
Florian Bruhin
89cdef851d
Install new node
2016-07-06 17:05:12 +02:00
Ryan Roden-Corrent
f94ee172c9
Add completion/models/base to perfect_files.
...
It now has 100% test coverage.
2016-06-30 07:26:02 -04:00
Florian Bruhin
ad83950410
travis: Install v5.6.1_1-1 bottle
...
This should fix OS X builds.
2016-06-30 09:54:03 +02:00
Florian Bruhin
03fbacd93c
requirements: Update vulture to 0.9
...
* Don't flag attributes as unused if they are used as global variables in
another module.
* Don't consider "True" and "False" variable names.
* Abort with error message when invoked on .pyc files.
This means we can remove the whitelisted globals in run_vulture.py and
the associated xfailing test.
We also needed to adjust run_vulture.py slightly as the file attribute
got renamed to filename.
2016-06-29 23:44:39 +02:00
Ryan Roden-Corrent
9578a3324e
Break two long lines that were failing pylint.
2016-06-13 22:31:21 -04:00
Florian Bruhin
4fccc89d7d
Split browser into browser/browser.webkit
2016-06-13 11:18:21 +02:00
Florian Bruhin
cfe360b95e
travis: Update OS X bottle to Qt 5.6.1
2016-06-10 23:14:57 +02:00
Florian Bruhin
7511bc1fe5
tests: 100% coverage for browser.history
2016-06-10 12:01:14 +02:00
Florian Bruhin
bd111c2ab1
Fix lint
2016-06-08 07:16:27 +02:00
Florian Bruhin
016c102e57
Fix lint
2016-06-08 00:05:57 +02:00
Florian Bruhin
f6473620c5
Fix recompile_requirements.py without arguments
2016-06-07 23:44:50 +02:00
Florian Bruhin
55da4ffc03
Also generate root requirements
2016-06-07 23:44:22 +02:00
Florian Bruhin
164d7bea4b
recompile_requirements: Add replace command
2016-06-07 23:40:00 +02:00
Florian Bruhin
1c6b4da706
Use #@ as chars
2016-06-07 23:21:50 +02:00
Florian Bruhin
6249436bde
Rename raw-requirements files
...
This hopefully means they're not picked up on requires.io.
2016-06-07 23:21:50 +02:00
Florian Bruhin
34a6451806
Add special #! commands to recompile_requirements
2016-06-07 23:08:14 +02:00
Florian Bruhin
136cb19814
reqs: Comment out ignored dependencies
2016-06-07 22:53:17 +02:00
Florian Bruhin
1a26c8c61f
Add a script to compile requirement files
2016-06-07 22:45:59 +02:00
Florian Bruhin
41fcf0ed33
Make pytest_rerunfailures work with frozen tests
2016-06-04 17:07:51 +02:00
Florian Bruhin
ce0b50bafd
Fix pytest_rerunfailures package name
2016-06-01 13:13:41 +02:00
Florian Bruhin
e6f3a200c8
Include pytest-rerunfailures for frozen tests
2016-06-01 12:39:29 +02:00
Florian Bruhin
2a49dbe817
Fix handling of cmd.no_cmd_split for docs
2016-05-30 16:42:53 +02:00
Florian Bruhin
e8528c2c75
travis: Switch back to autogenerated Docker images
...
Archlinux updated to PyQt 5.6 in [extra] now, so the autobuilt image
should work fine with Qt 5.6 now.
2016-05-29 23:00:32 +02:00
Florian Bruhin
070e30658f
Fix lint
2016-05-29 22:22:34 +02:00
Florian Bruhin
001670969b
tests: Ignore segfaults on pytest exit
...
In various situations (especially on OS X), pytest segfaults on exit probably
due to Qt/PyQt bugs.
We now have a wrapper script which ignores those segfaults if pytest did run
successfully.
2016-05-29 22:06:24 +02:00
Florian Bruhin
1332258767
Revert "travis_run: Show tox exit status"
...
This reverts commit 144a37ec06
.
We accidentally always exit with status 0 with this...
2016-05-29 20:46:48 +02:00
Florian Bruhin
144a37ec06
travis_run: Show tox exit status
2016-05-29 18:47:58 +02:00
Florian Bruhin
64d4c9f83e
Clean up end2end test file structure
...
This renames tests/integration to tests/end2end and moves some files to
tests/end2end/fixtures.
2016-05-29 18:20:00 +02:00
Florian Bruhin
6f6303e0a6
Use requirements files for tox dependencies
...
While this makes things a little more complicated and means we'll need to use
`-r` to recreate tox environments, it has several advantages:
- Full support from requires.io (including PRs)
- Workaround for https://bitbucket.org/hpk42/tox/issues/332/ so we can update
virtualenv/pip
2016-05-29 16:53:54 +02:00
Florian Bruhin
cd7b8c65df
Remove OS X specific options from freeze.py
2016-05-29 16:26:21 +02:00
Florian Bruhin
9bb425d598
Install Qt5/PyQt5 from custom bottles on OS X
...
We have a custom build which comes with QtWebKit now.
2016-05-29 15:46:43 +02:00
Florian Bruhin
345768bfc4
Fix requirements installing on Appveyor
2016-05-29 15:28:49 +02:00
Florian Bruhin
a987b714de
appveyor: Install pip/tox from requirements files
2016-05-29 15:14:42 +02:00
Florian Bruhin
f4ce199968
ci: Blacklist virtualenv > 15.0.1
2016-05-29 15:09:14 +02:00
Florian Bruhin
f72fc04bb1
Revert "ci: Update virtualenv to 15.0.2"
...
This reverts commit 3c978aa203
.
We need to revert this due to the tox/pip bug with inline comments.
2016-05-29 15:08:43 +02:00
Florian Bruhin
1e55db0630
Follow the American way(tm) of spelling things
2016-05-29 10:57:41 +02:00