Comments (6)
Trying to list out what "test everything" would mean:
Codecov says we're at 67.42% code coverage. Out of 574 tracked lines, we hit 387, partially hit 25, and miss 162. upload.py
, for instance, has substantial untested code.
I think we don't have any doctests.
We have some tests running via Travis CI.
We could add PEP 484 annotations (#231).
from twine.
100% coverage or bust is my motto :P
from twine.
Hi @bhrutledge , @dstufft
Is this something I can take a stab at?
I started with twine/utils.py
and was able to get 99% test coverage with it, from 96% . I will be happy to create a PR for the same, and then increase coverage for more files, with one file per PR.
Before
Name Stmts Miss Branch BrPart Cover Missing
twine/utils.py 98 4 40 2 96% 111->112, 112, 118-126, 172->177
------------------------------------------------------------------------
TOTAL 829 70 241 35 88%
After
Name Stmts Miss Branch BrPart Cover Missing
twine/utils.py 98 0 40 1 99% 172->177
------------------------------------------------------------------------
TOTAL 829 66 241 34 89%
from twine.
@deveshks Yes please! This is how I got started contributing to Twine, at last year's PyCon sprints: #458.
from twine.
@deveshks Yes please! This is how I got started contributing to Twine, at last year's PyCon sprints: #458.
Thanks, I have submitted the first PR towards the effort
from twine.
Coverage is now at 93%. That's satisfactory. Nicer would be to get to 100%, so ongoing contribution is welcomed.
from twine.
Related Issues (20)
- InvalidDistribution: Cannot find file (or expand pattern)
- The upload --skip-existing command does not work on a Nexus Repository instance with a PostgreSQL database HOT 1
- Py 3.13: Twine imports `cgi` that doesn't exist HOT 1
- Twine needs a 5.0.0 PyPi release HOT 2
- HTTPError: 403 Forbidden HOT 2
- twine upload: error: the following arguments are required: dist
- Check command doesn't recognize metadata 2.3 HOT 8
- WARNING Error during upload. Retry with the --verbose option for more details. HOT 2
- Twine uploads with `provides_extras` field, not `provides_extra` HOT 2
- twine prompts for API token instead of username. HOT 1
- `twine upload` erroneously says `start filename for 'leo' with 'leo'` HOT 3
- Twine should require pkginfo > 1.10 HOT 7
- test_pkginfo_returns_no_metadata[unsupported Metadata-Version] fails HOT 1
- `'' is not a valid url` when trying to upload a package HOT 3
- HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/ '' is not a valid URL HOT 2
- `--skip-existing` gives misleading feedback HOT 3
- Add an option to skip dependency checking during upload HOT 1
- twine ignores my .pypirc HOT 1
- twine upload sdist gzip failing HOT 2
- Package docutils (0.21.post1) not found. HOT 4
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 twine.