Skip to content

Commit 3328daf

Browse files
committed
No more codacy (too many false positives!)
1 parent 9280232 commit 3328daf

File tree

4 files changed

+8
-15
lines changed

4 files changed

+8
-15
lines changed

.codacy.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

README.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. image:: https://github.com/lukelbd/proplot/blob/master/docs/_static/logo_long.png?raw=true
22
:width: 1000px
33

4-
|build-status| |coverage| |quality| |docs| |license| |gitter| |pr-welcome|
4+
|build-status| |coverage| |docs| |license| |gitter| |pr-welcome|
55

66
A comprehensive, easy-to-use `matplotlib <https://matplotlib.org/>`__ wrapper for making beautiful, publication-quality graphics.
77

@@ -34,10 +34,6 @@ The documentation is `published on readthedocs <https://proplot.readthedocs.io>`
3434
:alt: coverage
3535
:target: https://codecov.io/gh/lukelbd/proplot.org
3636

37-
.. |quality| image:: https://api.codacy.com/project/badge/Grade/931d7467c69c40fbb1e97a11d092f9cd
38-
:alt: quality
39-
:target: https://www.codacy.com/app/lukelbd/proplot?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=lukelbd/proplot&amp;utm_campaign=Badge_Grade
40-
4137
.. |license| image:: https://img.shields.io/github/license/lukelbd/proplot.svg
4238
:alt: license
4339
:target: LICENSE.txt
@@ -54,6 +50,11 @@ The documentation is `published on readthedocs <https://proplot.readthedocs.io>`
5450
:alt: PR welcome
5551
:target: https://git-scm.com/book/en/v2/GitHub-Contributing-to-a-Project
5652

53+
..
54+
|quality| image:: https://api.codacy.com/project/badge/Grade/931d7467c69c40fbb1e97a11d092f9cd
55+
:alt: quality
56+
:target: https://www.codacy.com/app/lukelbd/proplot?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=lukelbd/proplot&amp;utm_campaign=Badge_Grade
57+
5758
..
5859
|hits| image:: http://hits.dwyl.io/lukelbd/lukelbd/proplot.svg
5960
:alt: hits

proplot/projs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def Proj(name, basemap=False, **kwargs):
142142
(proj.urcrnry - proj.llcrnry)
143143
# Cartopy
144144
else:
145-
import cartopy.crs as _
145+
import cartopy.crs as _ # noqa
146146
kwargs = {CARTOPY_CRS_TRANSLATE.get(key, key): value for key,value in kwargs.items()}
147147
crs = cartopy_projs.get(name, None)
148148
if name == 'geos': # fix common mistake

proplot/styletools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ def set_alpha(self, alpha):
12561256
alpha : float
12571257
The opacity.
12581258
"""
1259-
colors = [list(to_rgba(color)) for color in self.colors]
1259+
colors = [list(mcolors.to_rgba(color)) for color in self.colors]
12601260
for color in colors:
12611261
color[3] = alpha
12621262
self.colors = colors

0 commit comments

Comments
 (0)