Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arg1 #32

Closed
wants to merge 37 commits into from
Closed

Arg1 #32

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .codescene/code-health-rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,20 @@
"rules" : [ {
"name" : "Low Cohesion",
"weight" : 0.0
}, {
"name" : "Complex Method",
"weight" : 0.0
}, {
"name" : "Bumpy Road Ahead",
"weight" : 0.0
} ]
} ],
"thresholds" : [ {
"name" : "function_bumpy_road_bumps_for_warning",
"value" : 3
}, {
"name" : "file_mean_cyclomatic_complexity_warning",
"value" : 8
}
]
} ]
}
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Rok <[email protected]> <[email protected]>
22 changes: 22 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
pipeline {
agent any

stages {
stage('Build') {
steps {
echo 'Building..'
}
}
stage('Test') {
steps {
echo 'Testing..'
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
}
}
}
}

27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
# analysis-target


sss
ffffff
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
A
AA
2 changes: 0 additions & 2 deletions python-example.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def get_db_transaction(transaction_id: str) -> DbTransaction:
"""Get transaction"""
return DbTransaction.objects.get_or_404(id=transaction_id)


def get_transaction(identity: Identity, id: str) -> Transaction:
"""Get specified transaction"""
return to_transaction_model(_update_cancellable(get_db_transaction(id)))
Expand Down Expand Up @@ -515,7 +514,6 @@ def _release_purse_reservation(transaction: DbTransaction) -> None:
logger.error("Failed to delete purse reservation, purse=%s, reservation=%s",
transaction.wallet.purse_id, transaction.purse_reservation_id, exc_info=ae)


def _revert_purse_record(transaction: DbTransaction) -> None:
"""Revert possible purse record"""
if transaction.purse_amount:
Expand Down
1 change: 1 addition & 0 deletions x.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A