-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ameba/linting and bump version for release.
The Ameba version was too old, so it was bumped. An .ameba.yml file was introduced to better control linting rules, and the issues that Ameba identified were fixed. The shard.yml version and VERSION were bumped to 0.5.2 to prepare for a release.
- Loading branch information
Showing
7 changed files
with
43 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# This configuration file was generated by `ameba --gen-config` | ||
# on 2023-05-10 14:20:09 UTC using Ameba version 1.4.3. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the reported problems are removed from the code base. | ||
|
||
# Problems found: 643 | ||
# Run `ameba --only Lint/NotNil` for details | ||
Lint/NotNil: | ||
Description: Identifies usage of `not_nil!` calls | ||
Excluded: | ||
- spec/instrumentation/crystal_http_websocket_spec.cr | ||
- spec/instrumentation/stefanwille_redis_spec.cr | ||
- src/opentelemetry/instrumentation/crystal/http_server.cr | ||
- src/opentelemetry/instrumentation/crystal/http_client.cr | ||
Enabled: false | ||
Severity: Warning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.5.1 | ||
0.5.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: opentelemetry-instrumentation | ||
version: 0.5.1 | ||
version: 0.5.2 | ||
|
||
authors: | ||
- Kirk Haines <[email protected]> | ||
|
@@ -19,7 +19,7 @@ dependencies: | |
development_dependencies: | ||
ameba: | ||
github: crystal-ameba/ameba | ||
version: ~> 1.0.0 | ||
version: ~> 1.4.3 | ||
sqlite3: | ||
github: crystal-lang/crystal-sqlite3 | ||
# Only one of these can be enabled, since they sit in the exact same namespace. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters