Comments (5)
Do we want to mention mypy
as well and start using type annotations?
It's possible now when securesystemslib doesn't use python2.
from securesystemslib.
python-tuf uses black, isort and pylint these days and I'm very happy with the setup because it has eliminated code style discussions (see invocation and config).
Let's do the same thing at least for any newly added modules in securesystemslib.
from securesystemslib.
I propose trying GitHub's LGTM static analysis tool: https://lgtm.com/projects/g/theupdateframework/tuf/?mode=list
from securesystemslib.
from securesystemslib.
I propose trying GitHub's LGTM static analysis tool: https://lgtm.com/projects/g/theupdateframework/tuf/?mode=list
this is irrelevant to the discussion but: the errors on the linked page are incorrect as all classes are "new-style" in Python now, explicitly deriving from object is not required (the distinction was a python 2 workaround).
from securesystemslib.
Related Issues (20)
- remove python2 shebang in hash module
- lint fails on master
- Update README: Document signer as first class module HOT 1
- Drop md5 and sha1 schemes from supported key schemes
- Change keytype for newly generated ecdsa keys HOT 9
- Rename default branch to `main` HOT 1
- securesystemslib.gpg cannot handle absolute paths on Windows
- Windows CI keeps failing (flaky) HOT 6
- tests should not fail by default (PYKCS11LIB env var) HOT 1
- SigstoreSigner: define URI and some import functionality HOT 1
- SigstoreSigner: provide public key import for ambient credentials HOT 1
- SigstoreSigner: public key should match signer HOT 3
- test HSMSigner on Windows
- validate Key instances in constructor not in deserialization
- KMS tests failed HOT 3
- Document detailed signature format per signing scheme HOT 1
- key: consider adding RSAKey, ECDSAKey and ED25519Key classes
- signer: add constants for key types and signing schemes HOT 1
- signer: deduplicate signing scheme dissection
- signer API: review exceptions specifically for Key.verify_signature HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from securesystemslib.