Skip to content

Commit cd680b0

Browse files
committed
merge
2 parents 16edd44 + 14f3841 commit cd680b0

File tree

311 files changed

+11994
-13020
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

311 files changed

+11994
-13020
lines changed

.coveragerc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ exclude_lines =
88
pragma: no cover
99

1010
# Don't complain about missing debug-only code:
11-
def __repr__(self):
12-
def __str__(self):
11+
def __repr__
12+
def __str__
1313

1414
# Don't complain if tests don't hit defensive assertion code:
1515
raise AssertionError
@@ -21,8 +21,8 @@ exclude_lines =
2121
if __name__ == __main__:
2222

2323
# Exclude dump methods
24-
def to_JSON(self):
24+
def to_JSON
2525
def to_XML
26-
def _to_DOM(self):
26+
def _to_DOM
2727

2828
ignore_errors = True

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ sphinx/_build/*
1212
.tox/*
1313
.coverage
1414
tests/integration/.tox/*
15+
tests/proxy/.tox/*
1516
.cache
1617
.eggs/
1718
htmlcov/*

.travis.yml

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1+
dist: xenial
12
language: python
23
python:
3-
- "3.4"
4-
- "3.5"
5-
- "3.6"
6-
- "3.7-dev"
4+
- "3.7"
5+
- "3.8"
76
script: tox
87
after_success:
98
- coveralls
@@ -16,12 +15,13 @@ env:
1615
- TEST_PYPI_URL=https://test.pypi.org/legacy/
1716
- PYPI_URL=https://upload.pypi.org/legacy/
1817
install:
19-
- pip install --upgrade pip && pip install -r dev-requirements.txt && pip install .
18+
- pip install --upgrade pip && pip install -r requirements.txt && pip install --upgrade -r dev-requirements.txt && pip install .
2019
cache: pip
2120

2221
stages:
2322
- test
2423
- "Local Installation Test"
24+
- "Coverage"
2525
- "Build docs"
2626
- "Deploy to PyPI"
2727
- "PyPI Installation Test"
@@ -30,37 +30,32 @@ jobs:
3030
include:
3131
- &local_installation_test
3232
stage: "Local Installation Test"
33-
python: 3.4
33+
python: "3.7"
3434
script: bash tests/local_installation_test.sh
3535
- <<: *local_installation_test
36-
python: 3.5
37-
- <<: *local_installation_test
38-
python: 3.6
39-
- <<: *local_installation_test
40-
python: "3.7-dev"
36+
python: "3.8"
37+
38+
- &coverage
39+
stage: "Coverage"
40+
python: "3.7"
41+
script: coverage run --rcfile=.coveragerc setup.py test -s tests.unit
42+
- <<: *coverage
43+
python: "3.8"
4144

4245
- stage: "Build docs"
4346
script: cd sphinx && make clean && make html
4447

4548
- &deploy_to_pypi
4649
stage: "Deploy to PyPI"
47-
python: 3.4
50+
python: "3.7"
4851
script: bash deploy/deploy_to_pypi.sh
4952
- <<: *deploy_to_pypi
50-
python: 3.5
51-
- <<: *deploy_to_pypi
52-
python: 3.6
53-
- <<: *deploy_to_pypi
54-
python: "3.7-dev"
53+
python: "3.8"
5554

5655
- &pypi_installation_test
5756
stage: "PyPI Installation Test"
58-
python: 3.4
57+
python: "3.7"
5958
if: branch = master
6059
script: bash tests/pypi_installation_test.sh
6160
- <<: *pypi_installation_test
62-
python: 3.5
63-
- <<: *pypi_installation_test
64-
python: 3.6
65-
- <<: *pypi_installation_test
66-
python: "3.7-dev"
61+
python: "3.8"

CONTRIBUTORS.md

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,41 @@ Contributors will be shown in alphabetical order
55

66
Code
77
----
8-
* [alechewitt] (https://github.com/alechewitt)
9-
* [dphildebrandt] (https://github.com/dphildebrandt)
10-
* [dstmar] (https://github.com/dstmar)
11-
* [ggstuart] (https://github.com/ggstuart)
12-
* [lardconcepts] (https://github.com/lardconcepts)
13-
* [liato] (https://github.com/liato)
14-
* [LukasBoersma] (https://github.com/LukasBoersma)
15-
* [Noid] (https://github.com/n0id)
16-
* [titilambert] (https://github.com/titilambert)
17-
* [txemi] (https://github.com/txemi)
8+
* [alechewitt](https://github.com/alechewitt)
9+
* [dphildebrandt](https://github.com/dphildebrandt)
10+
* [dstmar](https://github.com/dstmar)
11+
* [edenhaus](https://github.com/edenhaus)
12+
* [ggstuart](https://github.com/ggstuart)
13+
* [lardconcepts](https://github.com/lardconcepts)
14+
* [liato](https://github.com/liato)
15+
* [LukasBoersma](https://github.com/LukasBoersma)
16+
* [Noid](https://github.com/n0id)
17+
* [titilambert](https://github.com/titilambert)
18+
* [txemi](https://github.com/txemi)
19+
* [camponez](https://github.com/camponez)
20+
* [dev-iks](https://github.com/dev-iks)
21+
22+
Docs
23+
----
24+
* [EJEP](https://github.com/EJEP)
1825

1926
Testing
2027
-------
21-
* [Samuel Yap] (https://github.com/samuelyap)
22-
* [Patrick Casbon] (https://github.com/patcas)
28+
* [Samuel Yap](https://github.com/samuelyap)
29+
* [Patrick Casbon](https://github.com/patcas)
30+
* [Tamas Magyar](https://github.com/tamasmagyar)
2331

2432
Packaging and Distribution
2533
--------------------------
26-
* [Diapente] (https://github.com/Diapente)
27-
* [Simone-Zabberoni] (https://github.com/Simone-Zabberoni)
34+
* [Diapente](https://github.com/Diapente)
35+
* [Simone-Zabberoni](https://github.com/Simone-Zabberoni)
2836

2937
Wiki
3038
----
31-
* [lardconcepts] (https://github.com/lardconcepts)
32-
* [richarddunks] (https://github.com/richarddunks)
33-
* [solumos] (https://github.com/solumos)
39+
* [lardconcepts](https://github.com/lardconcepts)
40+
* [richarddunks](https://github.com/richarddunks)
41+
* [solumos](https://github.com/solumos)
3442

3543
Logo
3644
----
37-
* [marlinmm] (https://github.com/marlinmm)
45+
* [marlinmm](https://github.com/marlinmm)

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2018 Claudio Sparpaglione
3+
Copyright (c) 2019 Claudio Sparpaglione
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

MANIFEST.in

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
include pyowm/pollutionapi30/xsd/*.xsd
2-
include pyowm/stationsapi30/xsd/*.xsd
3-
include pyowm/uvindexapi30/xsd/*.xsd
4-
include pyowm/weatherapi25/cityids/*.gz
5-
include pyowm/weatherapi25/xsd/*.xsd
6-
include pyowm/docs/*.md
1+
include pyowm/requirements.txt
2+
include pyowm/commons/cityids/*.bz2

Pipfile

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,23 @@ verify_ssl = true
44
name = "pypi"
55

66
[dev-packages]
7-
coverage = "==3.7.1"
8-
pytest = "==3.0.3"
9-
Sphinx = "==1.2.1"
10-
tox = "==1.9.2"
11-
virtualenv = "==12.0.7"
12-
twine = "==1.11.0"
7+
coverage = "*"
8+
coveralls = "*"
9+
Jinja2 = "*"
10+
pip = ">=18.0"
11+
pproxy = "==2.2.0"
12+
pytest = "*"
13+
recommonmark = "*"
14+
Sphinx = "*"
15+
sphinx-readable-theme = ""==1.3.0"
16+
tox = "*"
17+
tox-travis = "*"
18+
virtualenv = "*"
19+
twine = "*"
20+
1321

1422
[packages]
1523
requests = "<3,==2.20.0"
1624
geojson = "<3,==2.3.0"
25+
PySocks = "<2,==1.7.1"
26+
requests[socks] = "*"

0 commit comments

Comments
 (0)