1
0
Fork 1
mirror of https://github.com/bookwyrm-social/bookwyrm.git synced 2024-12-28 11:00:36 +00:00
Commit graph

53 commits

Author SHA1 Message Date
Mouse Reeve
9e5536c7d5 Don't double-run black and pylint 2021-08-02 16:08:41 -07:00
Mouse Reeve
6d8bced0f1 Refactors test mocks 2021-08-02 16:05:40 -07:00
Mouse Reeve
1791b5b9fa Try running tests in parellel 2021-08-02 12:34:18 -07:00
Mouse Reeve
8d476804c2 Potential speedups 2021-08-01 07:38:16 -07:00
Mouse Reeve
1333b0b3c3 Simplifies env for django tests 2021-07-31 21:42:37 -07:00
Mouse Reeve
a27adf596b
Adds prompt to include instance in bug reports 2021-06-27 12:14:55 -07:00
Mouse Reeve
55aa67cc00 Fixes pytest syntax 2021-06-27 07:31:01 -07:00
Mouse Reeve
fe5f8b3f0e Test is passing locally and failing in CI
Trying out different yaml params
2021-06-27 07:04:37 -07:00
Mouse Reeve
6a6de44ebe Attempt at getting tests running by pumbing psql version 2021-06-23 17:10:35 -07:00
Mouse Reeve
491d68353d Fixes typo in black command 2021-06-18 15:29:34 -07:00
Mouse Reeve
59938e2d46 Linter fixes for models 2021-06-18 15:24:10 -07:00
Mouse Reeve
a20c4d583c Merge branch 'main' into pylint 2021-06-18 14:48:31 -07:00
Mouse Reeve
0a44578987 Disables similarity comparison 2021-06-18 14:35:26 -07:00
Mouse Reeve
9e5c7053e9 More pylint fixes 2021-06-18 14:29:24 -07:00
Mouse Reeve
4479864008 Updates code for linter 2021-06-18 14:12:56 -07:00
Mouse Reeve
20f74ba02b More disables 2021-06-18 13:23:06 -07:00
Mouse Reeve
633f5e6dc7 Fixes R/C disable flag 2021-06-18 12:25:11 -07:00
Mouse Reeve
38a19f7063 Disable error that's almost always a false positive 2021-06-18 12:23:16 -07:00
Mouse Reeve
4995b26d8c Adds dependencies to pylint 2021-06-18 12:08:15 -07:00
Mouse Reeve
2bd56c38d2 Tweaks to script 2021-06-18 11:57:11 -07:00
Mouse Reeve
5db506523d Adds pylint workflow 2021-06-18 11:36:45 -07:00
Mouse Reeve
973b23856c
Merge branch 'main' into opengraph-image-generation 2021-06-17 15:17:54 -07:00
Mouse Reeve
948a5dea10 Cleans up .env and settings files
Some outdated stuff doesn't need to be in there
2021-06-07 12:53:57 -07:00
bcj
17f9682aab Testfixes: Remove extra space + hopefully fix env 2021-06-03 09:07:56 -05:00
Joachim
5966520f0d Ok this is stupid. 2021-05-29 16:01:33 +02:00
Joachim
cd7c0ccaea Enable env on GitHub Actions 2021-05-29 15:51:56 +02:00
Mouse Reeve
77faceef80 Why is black unhappy 2021-05-03 11:44:02 -07:00
Fabien Basmaison
b2b5ee5a22 [lint] Tweak editorconfig and frontend lint:
- Ignore computer generated files when linting.
- Include .mo files for consistency.
- Use multiline yaml syntax for `run` commands.
2021-04-17 12:39:57 +02:00
Fabien Basmaison
ad3e91db7d Merge branch 'main' into frontend 2021-04-08 09:53:01 +02:00
Mouse Reeve
4cea7be771 Gets black back on stable tag 2021-04-07 07:46:15 -07:00
Fabien Basmaison
27e47b0a35 [lint] Update context for linting frontend files:
- Lint files when pushing on the _frontend_ branch.
- Lint files when eslint or stylelint config files are updated.
- Use _strict_ parsing of JS files by default. This should make the JS linting test to fail.
2021-04-05 16:35:09 +02:00
Fabien Basmaison
cbed5e331b [assets] Move some frontend assets to _vendor_ directories:
This simplifies linting of files we have no grasp on, and clarifies responsibilities.

- Add .eslintignore.
- Restrict linting to bookwyrm/static.
2021-04-05 16:17:11 +02:00
Mouse Reeve
24925dae82 Temporary fix while issues with Black's release tags get resolved
https://github.com/psf/black/issues/2079
2021-04-02 17:18:42 -07:00
Fabien Basmaison
54ae4d9e44 Rename some Github Actions files for consistency. 2021-03-31 18:02:11 +02:00
Fabien Basmaison
99fd5c4e17 Tweak Github Actions:
- Rename some jobs for consistency.
- Add workflows path to trigger lint when updating workflows.
- Simplify frontend actions to speed up process and reduce dependencies.
2021-03-31 17:59:52 +02:00
Fabien Basmaison
53f03457cc Add linter for JS files with basic recommended rules:
- Add Github Action.
- Fix JS files to match rules; mostly `globals` and `exported`.
2021-03-31 17:07:28 +02:00
Fabien Basmaison
cc01105bf0 Add linter for CSS files:
- Add Github Action.
- Update .gitignore.
- Add .stylelintignore for vendor related files.
- Fix format.css to match rules (includes hacks with @todo).
2021-03-31 16:17:05 +02:00
Mouse Reeve
d8c83fa31c Return activities for existing objs in resolve_remote_id 2021-03-24 12:58:39 -07:00
Fabien Basmaison
fa79070b59 [lint] Update editorconfig linting:
- Add settings for comments.
- Remove custom settings that don’t work.
- Fix vendor JS file:
2021-03-20 16:33:18 +01:00
Fabien Basmaison
5c5fc98118 [lint] Trying out new syntax for vendor file. 2021-03-20 16:19:20 +01:00
Fabien Basmaison
e81ae2df9b Rename linters to be less ambiguous. 2021-03-20 16:13:19 +01:00
Fabien Basmaison
e3cd09930b [lint] Exclude JS vendor file and show all errors. 2021-03-20 16:00:37 +01:00
Fabien Basmaison
b9a61162d7 Merge branch 'main' into ci 2021-03-20 15:26:51 +01:00
Mouse Reeve
9536f0058a Testing out a Black github action 2021-03-06 13:43:20 -08:00
Fabien Basmaison
4a8d9bee73 [lint] Fix indentation in .md files. 2021-03-04 19:05:01 +01:00
Fabien Basmaison
55ad637da4 Add editorconfig and matching Github Workflow. 2021-03-04 18:40:57 +01:00
Mouse Reeve
5c054cf424
Update FUNDING.yml 2021-02-12 18:03:06 -08:00
Joel Bradshaw
1ea8ea0c26 Temp commit to make test run verbose, to see what's happening 2021-01-17 20:31:42 -08:00
Andrew Radev
313e389fc6
Fix typo in Patreon link 2020-12-24 12:56:22 +02:00
Mouse Reeve
3aba3c8052
Create FUNDING.yml 2020-12-09 15:08:53 -08:00