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
55ad637da4
Add editorconfig and matching Github Workflow.
2021-03-04 18:40:57 +01:00
Joel Bradshaw
1ea8ea0c26
Temp commit to make test run verbose, to see what's happening
2021-01-17 20:31:42 -08:00
Mouse Reeve
efa5d5ef2c
Adds ci test runner
2020-11-27 11:42:25 -08:00
Mouse Reeve
da5af56f72
Create codeql-analysis.yml
2020-11-07 21:17:52 -08:00