Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
pleroma
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hécate
pleroma
Commits
4b73ca63
Verified
Commit
4b73ca63
authored
Mar 05, 2019
by
Haelwenn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Credo][CI] Add readability as it’s fixed
parent
23960309
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
5 deletions
+4
-5
.credo.exs
.credo.exs
+3
-1
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
lib/mix/tasks/pleroma/uploads.ex
lib/mix/tasks/pleroma/uploads.ex
+0
-1
lib/pleroma/uploaders/uploader.ex
lib/pleroma/uploaders/uploader.ex
+0
-1
lib/pleroma/web/nodeinfo/nodeinfo.ex
lib/pleroma/web/nodeinfo/nodeinfo.ex
+0
-1
No files found.
.credo.exs
View file @
4b73ca63
...
...
@@ -81,7 +81,9 @@
{
Credo
.
Check
.
Readability
.
ParenthesesOnZeroArityDefs
},
{
Credo
.
Check
.
Readability
.
ParenthesesInCondition
},
{
Credo
.
Check
.
Readability
.
PredicateFunctionNames
},
{
Credo
.
Check
.
Readability
.
PreferImplicitTry
},
# lanodan: I think PreferImplicitTry should be consistency, and the behaviour seems
# inconsistent, see: https://github.com/rrrene/credo/issues/224
{
Credo
.
Check
.
Readability
.
PreferImplicitTry
,
false
},
{
Credo
.
Check
.
Readability
.
RedundantBlankLines
},
{
Credo
.
Check
.
Readability
.
StringSigils
},
{
Credo
.
Check
.
Readability
.
TrailingBlankLine
},
...
...
.gitlab-ci.yml
View file @
4b73ca63
...
...
@@ -42,4 +42,4 @@ unit-testing:
analysis
:
stage
:
analysis
script
:
-
mix credo list --only=warnings,todo,fixme,consistency
-
mix credo list --only=warnings,todo,fixme,consistency
,readability
lib/mix/tasks/pleroma/uploads.ex
View file @
4b73ca63
...
...
@@ -20,7 +20,6 @@ defmodule Mix.Tasks.Pleroma.Uploads do
Options:
- `--delete` - delete local uploads after migrating them to the target uploader
A list of available uploaders can be seen in config.exs
"""
def
run
([
"migrate_local"
,
target_uploader
|
args
])
do
...
...
lib/pleroma/uploaders/uploader.ex
View file @
4b73ca63
...
...
@@ -29,7 +29,6 @@ defmodule Pleroma.Uploaders.Uploader do
* `{:error, String.t}` error information if the file failed to be saved to the backend.
* `:wait_callback` will wait for an http post request at `/api/pleroma/upload_callback/:upload_path` and call the uploader's `http_callback/3` method.
"""
@type
file_spec
::
{
:file
|
:url
,
String
.
t
()}
@callback
put_file
(
Pleroma
.
Upload
.
t
())
::
...
...
lib/pleroma/web/nodeinfo/nodeinfo.ex
deleted
100644 → 0
View file @
23960309
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment