Hans-Christoph Steiner
|
d5a1439457
|
lint: Anti-Features validator uses names from config
|
2023-05-11 10:29:04 +02:00 |
|
Hans-Christoph Steiner
|
b92e280eab
|
fix code format for new black rule
|
2023-03-20 14:47:48 +01:00 |
|
Simon Brand
|
4a581bdfb6
|
Remove path workarounds for old python versions
|
2023-02-15 19:25:48 +00:00 |
|
linsui
|
618e2c7d72
|
change VercodeOperation to TYPE_LIST
|
2022-10-27 19:11:37 +08:00 |
|
linsui
|
6bafb036ee
|
lint.py: use pathlib and support Windows
|
2021-06-09 15:46:52 +08:00 |
|
Hans-Christoph Steiner
|
d05ff9db1d
|
easy changes to black code format in test cases
This does not change areas of code that should be manually reformatted.
|
2021-06-07 11:53:58 +02:00 |
|
Hans-Christoph Steiner
|
37f37ebd88
|
use default accepted_formats since all the files are .yml anyway
|
2020-06-10 10:43:21 +02:00 |
|
Hans-Christoph Steiner
|
b63e9e68c5
|
move all test metadata files to .yml format
for f in metadata/*.txt; do ../fdroid rewritemeta --to yml $(basename $f | sed 's,\.txt,,'); done
|
2020-06-10 09:56:31 +02:00 |
|
Hans-Christoph Steiner
|
3801db064a
|
lint: improve HTTPS check
It was missing some domains, so I added another rule. @IzzySoft pointed
out it was redudnant, so this removes the redudant rule and fixes the
original.
https://gitlab.com/fdroid/fdroidserver/merge_requests/681/diffs#note_225263464
|
2019-10-04 11:12:48 +02:00 |
|
Hans-Christoph Steiner
|
af4e231f7d
|
lint: enforce HTTPS on GitHub and GitLab pages
The always provide HTTPS, so let's enforce it.
|
2019-10-04 11:12:48 +02:00 |
|
Hans-Christoph Steiner
|
17320c23f4
|
lint: don't trip up on projects with 'master' in the name
https://gitlab.com/fdroid/fdroiddata/merge_requests/5557#note_223283359
|
2019-10-04 11:12:48 +02:00 |
|
Michael Pöhn
|
d5ab303d83
|
lint: license override config option + require FSF/OSI approved licenses by default
|
2019-10-02 22:14:09 +02:00 |
|
Hans-Christoph Steiner
|
3bea689f74
|
add another lint field type test case
|
2018-10-10 16:02:34 +02:00 |
|
Hans-Christoph Steiner
|
85993eb2f8
|
lint: check fields for proper type, e.g. list vs. string
fdroid/fdroidserver#578
|
2018-10-09 23:31:24 +02:00 |
|
Michael Pöhn
|
7d5f4d3ab9
|
added cwd setup boiler-plate to *.TestCase where missing
|
2018-08-14 10:34:13 +02:00 |
|
Hans-Christoph Steiner
|
8f30c892c5
|
VercodeOperation: only allow simple math expresssions and %c
|
2018-03-05 09:45:58 +01:00 |
|
Hans-Christoph Steiner
|
498ea5d609
|
lint: ban all dangerous HTML tags
* https://en.wikipedia.org/wiki/HTML_sanitization
* https://asostack.com/enhance-your-google-play-store-description-with-rich-formatting-and-emojis-5f50ff354e5f
|
2018-02-27 12:09:54 +01:00 |
|
Hans-Christoph Steiner
|
3ff4b656c6
|
tests: name temp test dir after test function that used it
|
2017-11-30 17:32:53 +01:00 |
|
Hans-Christoph Steiner
|
17efa13183
|
tests: pre-set failfast as reminder of a handy time saver
|
2017-10-25 23:01:25 +02:00 |
|
Hans-Christoph Steiner
|
214c9f7a2b
|
lint: check file extension for metadata
This helps keep fdroiddata clean, on @krt's request.
closes #222
|
2017-06-28 23:14:57 +02:00 |
|