mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-19 19:25:53 +00:00
style: Use pre-commit tool and add simple config (#2029)
I started with really simple pre-commit hooks and will add more on top. Important files: - `.pre-commit-config.yaml` - the config for pre-commit - `.github/workflows/pre-commit.yml` - runs pre-commit hooks in branches and `develop` - `.github/workflows/pre-commit-autoupdate.yml` - autoupdates pre-commit hooks once in a month
This commit is contained in:
@@ -178,7 +178,7 @@ generateTestValuesForParametersTest()
|
||||
.testName = "MarkerLedgerNotInt",
|
||||
.testJson = R"({
|
||||
"nft_id":"00010000A7CAD27B688D14BA1A9FA5366554D6ADCF9CE0875B974D9F00000004",
|
||||
"marker":
|
||||
"marker":
|
||||
{
|
||||
"seq": "string",
|
||||
"ledger": 1
|
||||
@@ -191,7 +191,7 @@ generateTestValuesForParametersTest()
|
||||
.testName = "MarkerSeqNotInt",
|
||||
.testJson = R"({
|
||||
"nft_id":"00010000A7CAD27B688D14BA1A9FA5366554D6ADCF9CE0875B974D9F00000004",
|
||||
"marker":
|
||||
"marker":
|
||||
{
|
||||
"ledger": "string",
|
||||
"seq": 1
|
||||
@@ -231,7 +231,7 @@ generateTestValuesForParametersTest()
|
||||
NFTHistoryParamTestCaseBundle{
|
||||
.testName = "LedgerIndexMaxMinAndLedgerIndex",
|
||||
.testJson = R"({
|
||||
"nft_id":"00010000A7CAD27B688D14BA1A9FA5366554D6ADCF9CE0875B974D9F00000004",
|
||||
"nft_id":"00010000A7CAD27B688D14BA1A9FA5366554D6ADCF9CE0875B974D9F00000004",
|
||||
"ledger_index_max": 20,
|
||||
"ledger_index_min": 11,
|
||||
"ledger_index": 10
|
||||
|
||||
Reference in New Issue
Block a user