mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-22 18:22:40 +00:00
flake8, more frozen
This commit is contained in:
parent
c587c9ed19
commit
6aff94dd8f
@ -4,7 +4,6 @@ A CLI for configuring a grid manager.
|
|||||||
|
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
from datetime import (
|
from datetime import (
|
||||||
datetime,
|
|
||||||
timedelta,
|
timedelta,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -25,9 +25,7 @@ from allmydata.util import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
from attrs import (
|
from attrs import (
|
||||||
define,
|
|
||||||
frozen,
|
frozen,
|
||||||
asdict,
|
|
||||||
Factory,
|
Factory,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -93,7 +91,7 @@ class _GridManagerStorageServer(object):
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@define
|
@frozen
|
||||||
class _GridManagerCertificate(object):
|
class _GridManagerCertificate(object):
|
||||||
"""
|
"""
|
||||||
Represents a single certificate for a single storage-server
|
Represents a single certificate for a single storage-server
|
||||||
|
@ -22,7 +22,6 @@ from allmydata.crypto import (
|
|||||||
ed25519,
|
ed25519,
|
||||||
)
|
)
|
||||||
from allmydata.util import (
|
from allmydata.util import (
|
||||||
base32,
|
|
||||||
jsonbytes as json,
|
jsonbytes as json,
|
||||||
)
|
)
|
||||||
from allmydata.grid_manager import (
|
from allmydata.grid_manager import (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user