[Rubocop] Default to running with todo

These are only interesting in solargraph
This commit is contained in:
Earlopain 2023-07-07 13:39:06 +02:00
parent 3b26b0d30c
commit 024f195858
No known key found for this signature in database
GPG Key ID: 6CFB948E15246897
3 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<% if ENV["CI"] %>
<% unless ENV["IGNORE_RUBOCOP_TODO"] %>
inherit_from: .rubocop_todo.yml
<% end %>

View File

@ -50,7 +50,7 @@ You're most likely using Windows. Give this a shot, it tells Git to stop trackin
`docker compose run --rm tests` to execute the test suite.
`docker compose run --rm rubocop` to run the linter. You will see a truckload of violations but CI will ignore these.
`docker compose run --rm rubocop` to run the linter.
The postgres server accepts outside connections which you can use to access it with a local client. Use `localhost:34517` to connect to a database named `e621_development` with the user `e621`. Leave the password blank, anything will work.

View File

@ -147,6 +147,8 @@ services:
working_dir: $PWD
volumes:
- .:$PWD
environment:
IGNORE_RUBOCOP_TODO: "1"
ports:
- 7658:7658
profiles: