• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wemake-services / wemake-python-styleguide / 2223
100%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2019 11:44AM UTC
Jobs 2
Files 104
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2223

push

travis-ci

sobolevn
revert: Annotations semantic checks

Why? Because it is too complex and bring a very little value.

Let me explain. Annotations can be used in multiple ways:

1. As Python structures: `List[int]`
2. As strings: `'SelfType[T]'`
3. As a mix of these two: `List['SelfType[T]']`

It is also really hard to tell that annotations are really the same.
Because, here's how one can write `Literal` (as an example):

1. `Literal[1]`
2. `typing.Literal[1]`
3. `t.Literal[1]`
4. `te.Literal[1]`
5. `typing_extensions.Literal[1]`
6. `'Literal[1]'`
7. ...

It would be the same annotation in all these cases. But different `ast` nodes.
Comparing them is hard. And error-prone.

We also break one very important princible of our project: we assume types.
That's why it is reverted.

2154 of 2154 branches covered (100.0%)

Branch coverage included in aggregate %.

4765 of 4765 relevant lines covered (100.0%)

2.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2223.1 07 Nov 2019 11:45AM UTC 0
100.0
Travis Job 2223.1
2 2223.2 07 Nov 2019 11:44AM UTC 0
100.0
Travis Job 2223.2
Source Files on build 2223
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2223
  • 02a934cb on github
  • Prev Build on master (#2217)
  • Next Build on master (#2224)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc