Mouse Reeve
30ad3bba0b
Suggest stylelint --fix in CI and add to bw-dev
2022-02-12 09:00:38 -08:00
Mouse Reeve
4d0fa2db4a
Dummy cache for tests
2022-01-06 11:40:27 -08:00
Mouse Reeve
2cad762646
Use in-memory cache for CI tests
2022-01-05 09:51:00 -08:00
Mouse Reeve
66456fc508
Adds test env var
2022-01-05 09:32:10 -08:00
Mouse Reeve
34a16667d8
Adds github workflow
2021-12-16 10:47:22 -08:00
Mouse Reeve
7c52feeab4
Skip modal layout in curlylint
2021-09-30 22:27:30 -07:00
Mouse Reeve
acfb1bb376
Updating string format synatx part 2
2021-09-18 11:32:00 -07:00
Mouse Reeve
00892eaaaf
Temporary fix for pylint
2021-09-17 20:58:09 -07:00
Mouse Reeve
a70b0e8712
Spacing for curly lint action
2021-08-21 11:45:36 -07:00
Mouse Reeve
0a8a4f0ee4
Adds curlylint workflow
2021-08-21 11:39:21 -07:00
Mouse Reeve
81d51d0634
Removes nonfunctional test linter
2021-08-21 10:53:18 -07:00
Mouse Reeve
8055fa8d8f
Test out accessibility linter github action
2021-08-21 09:03:15 -07:00
Mouse Reeve
98a98f8e69
Updates test env
2021-08-06 18:13:51 -07:00
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
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