Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DuniterPy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
DuniterPy
Commits
97028946
Commit
97028946
authored
3 years ago
by
Vincent Texier
Browse files
Options
Downloads
Patches
Plain Diff
[enh]
#181
move crc_pubkey.py to key package (BBC)
parent
717b63fb
No related branches found
No related tags found
No related merge requests found
Pipeline
#13087
passed
3 years ago
Stage: checks
Stage: tests
Changes
3
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
duniterpy/documents/__init__.py
+0
-1
0 additions, 1 deletion
duniterpy/documents/__init__.py
duniterpy/key/crc_pubkey.py
+2
-2
2 additions, 2 deletions
duniterpy/key/crc_pubkey.py
tests/documents/test_crc_pubkey.py
+1
-1
1 addition, 1 deletion
tests/documents/test_crc_pubkey.py
with
3 additions
and
4 deletions
duniterpy/documents/__init__.py
+
0
−
1
View file @
97028946
...
...
@@ -16,7 +16,6 @@
from
.block
import
Block
from
.block_uid
import
BlockUID
,
block_uid
from
.certification
import
Certification
from
.crc_pubkey
import
CRCPubkey
from
.document
import
Document
,
MalformedDocumentError
from
.identity
import
Identity
from
.membership
import
Membership
...
...
This diff is collapsed.
Click to expand it.
duniterpy/
documents
/crc_pubkey.py
→
duniterpy/
key
/crc_pubkey.py
+
2
−
2
View file @
97028946
...
...
@@ -19,8 +19,8 @@ from typing import Type, TypeVar
import
base58
from
.
.constants
import
PUBKEY_REGEX
from
.
.tools
import
ensure_str
from
duniterpy
.constants
import
PUBKEY_REGEX
from
duniterpy
.tools
import
ensure_str
# required to type hint cls in classmethod
CRCPubkeyType
=
TypeVar
(
"
CRCPubkeyType
"
,
bound
=
"
CRCPubkey
"
)
...
...
This diff is collapsed.
Click to expand it.
tests/documents/test_crc_pubkey.py
+
1
−
1
View file @
97028946
...
...
@@ -15,7 +15,7 @@
import
unittest
from
duniterpy.
documents
.crc_pubkey
import
CRCPubkey
from
duniterpy.
key
.crc_pubkey
import
CRCPubkey
class
TestCRCPubkey
(
unittest
.
TestCase
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment