Florian Bruhin
7576dc2719
Get rid of IOError
...
It's an alias to OSError since Python 3.3:
https://docs.python.org/3/library/exceptions.html
https://www.python.org/dev/peps/pep-3151/
2021-01-26 17:49:39 +01:00
Florian Bruhin
1a4fff1a42
doc: Switch URLs to https
2021-01-26 15:19:01 +01:00
Florian Bruhin
222f1f19a1
Bump copyright years
...
Closes #6015
2021-01-20 20:06:19 +01:00
Florian Bruhin
47eb949b31
ci: Add check for attrs
2021-01-14 13:51:18 +01:00
Florian Bruhin
99017c50ac
Trivial PyQt 6 changes
...
See #5395
2021-01-08 10:47:02 +01:00
Florian Bruhin
1723278aae
Add additional spelling checks
2020-12-30 13:51:07 +01:00
Florian Bruhin
6e40605ae1
scripts: Improve output for misc_checks
...
- Don't output type annotation message for "# type: ignore"
- Output entire message colored
- Strip colors in problemmatcher regex
2020-12-03 17:07:08 +01:00
Florian Bruhin
e07611fc31
Enforce /usr/bin/env shebangs in userscripts
...
See https://github.com/qutebrowser/qutebrowser/discussions/5927#discussioncomment-145322
2020-12-03 11:09:20 +01:00
Florian Bruhin
ad2067bf54
Update/enforce changelog URLs
2020-11-09 12:39:23 +01:00
Florian Bruhin
d6e1d78477
tests: Use three-argument form of monkeypatch
2020-11-03 23:06:11 +01:00
Florian Bruhin
3776809c8e
Fix lint
2020-11-02 17:59:50 +01:00
Florian Bruhin
d5b08d1516
scripts: Add typing. check to misc_checks.py
2020-11-02 17:14:24 +01:00
Florian Bruhin
33c80e386c
scripts: Disallow type comments in misc_checks
2020-11-02 17:09:19 +01:00
Florian Bruhin
0487383836
scripts: Disallow blanket noqa/type ignores
2020-11-02 17:02:06 +01:00
Florian Bruhin
6d04af727d
scripts: Improve spell checks in misc_checks.py
...
- Precompile patterns which leads to a nice speedup (8s -> 2.75s on my machine)
- Add an explanation
- Output messages in a way we can use GitHub Actions problem matchers
- Add those problem matchers
2020-11-02 16:50:33 +01:00
Florian Bruhin
0a5c2114c1
scripts: Add 'all' to misc_checks
2020-11-02 16:29:02 +01:00
Florian Bruhin
abed001aa9
misc_checks: Handle remaining binary files gracefully
2020-09-10 16:40:23 +02:00
Florian Bruhin
e3fa34b970
misc_checks: Ignore wheels
2020-09-10 16:28:24 +02:00
Florian Bruhin
502402911c
Fix lint
2020-09-06 17:52:11 +02:00
Florian Bruhin
a78442bb67
Rewrite file collection in misc_checks.py
...
Now collects all (non-ignored) files via `git ls-files` and only skips
some binary formats.
Also adds some type annotations and fixes some newly unconvered
UK-spellings.
2020-09-06 17:23:03 +02:00
Florian Bruhin
3abfd78c25
Fix some a/an spelling mistakes
2020-09-06 16:37:59 +02:00
Florian Bruhin
a24a43415a
scripts: Ignore .mypy_cache/__pycache__ in misc_checks
2020-08-05 14:18:52 +02:00
Florian Bruhin
81afc1eddf
misc_checks: Simplify patterns
2020-07-03 18:56:54 +02:00
Florian Bruhin
10968f248f
ci: Add artefact to misspelled words
2020-07-03 18:56:54 +02:00
Florian Bruhin
85aee23639
Add dark mode settings
...
Closes #5394
See #2377
2020-05-27 15:18:13 +02:00
Florian Bruhin
47470e9727
Fix lint
2020-04-15 21:07:28 +02:00
Florian Bruhin
9e4276db9b
Adjust copyrights for 2020
2020-01-04 18:21:17 +01:00
Florian Bruhin
ad83f4c340
Add check for missing userscript description
2019-09-25 16:03:42 +02:00
Jay Kamat
3e816f5f8b
Update copyright for 2019
2019-02-22 21:45:08 -08:00
Florian Bruhin
2152081d82
s/an URL/a URL/g
2018-11-16 12:37:30 +01:00
Florian Bruhin
6f028e9ad0
Update copyright years
2018-02-05 12:19:50 +01:00
Florian Bruhin
c8de4675db
Various spelling fixes
2018-02-04 21:30:59 +01:00
Florian Bruhin
430126dcc8
pylint: Re-enable ungrouped-imports
2017-12-15 23:08:53 +01:00
Gyorgy Orban
bb54a954fe
use subprocess run
...
The usage of subprocess.run is recommended since python 3.5.
Popen, check_call, call and check_output calls were replaced with run.
2017-11-01 09:59:32 +01:00
Florian Bruhin
822623f2ed
Finally update copyrights...
2017-05-09 21:37:03 +02:00
Florian Bruhin
3d9b33f6a5
Ignore ace.js for spellcheck
2016-09-07 13:01:54 +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
d079caafa8
Add possibility to disable spellcheck
2016-07-15 00:07:37 +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
1e55db0630
Follow the American way(tm) of spelling things
2016-05-29 10:57:41 +02:00
Florian Bruhin
2a343cb3a1
Various code style improvements
2016-04-27 20:25:27 +02:00
Florian Bruhin
7a268a41f6
pylint: Don't require docstring for main() funcs.
2016-02-01 20:06:49 +01:00
Florian Bruhin
a97ba9aa09
Merge branch 'pdfjs' of https://github.com/Kingdread/qutebrowser into Kingdread-pdfjs
2016-01-05 07:21:26 +01:00
Florian Bruhin
a5f2ac5f03
Adjust copyright years.
2016-01-04 07:12:39 +01:00
Daniel Schadt
c3f2cb02c8
pdfjs: adjust path in scripts/dev/misc_checks.py
2015-12-20 19:24:41 +01:00
Daniel Schadt
60b9d7e6c3
Fix lints
2015-12-20 19:24:41 +01:00
Florian Bruhin
67ecd93326
Spell-check committing and existent.
2015-10-14 06:56:13 +02:00
Florian Bruhin
d229e90724
Fix some splelling mistakes.
2015-10-04 15:41:42 +02:00
Florian Bruhin
f3b4d0ce38
Ignore htmlcov dir for spellchecks.
2015-08-25 22:09:15 +02:00
Florian Bruhin
7b8490b6c0
Fix 'an user' spelling.
2015-06-29 17:49:19 +02:00