Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .stickler.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
linters:
flake8:
python: 3

files:
ignore:
Expand Down
2 changes: 0 additions & 2 deletions docs/iris/example_code/Meteorology/COP_maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
doi:10.1029/2009EO210001.

"""
from six.moves import zip

import os.path
import matplotlib.pyplot as plt
import numpy as np
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,3 @@
# This file is part of Iris and is released under the LGPL license.
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa
3 changes: 0 additions & 3 deletions docs/iris/example_tests/extest_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@

"""

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

import contextlib
import os.path
import warnings
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_COP_1d_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_COP_maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_SOI_filtering.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_TEC.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_anomaly_log_colouring.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_atlantic_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_coriolis_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.

Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_cross_section.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_custom_aggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_custom_file_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_deriving_phenomena.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_global_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_hovmoller.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_inset_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.

Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_lagged_ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_lineplot_with_legend.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_load_nemo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_orca_projection.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_polar_stereo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_polynomial_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_projections_and_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_rotated_pole_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/example_tests/test_wind_speed.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# Import Iris tests first so that some things can be initialised before
# importing anything else.
import iris.tests as tests
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

# -*- coding: utf-8 -*-
#
# Iris documentation build configuration file, created by
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class ExampleClass(object):
class ExampleClass:
"""
Class Summary

Expand Down
3 changes: 0 additions & 3 deletions docs/iris/src/developers_guide/gitwash_dumper.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/usr/bin/env python
''' Checkout gitwash repo into directory and do search replace on name '''

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

import os
from os.path import join as pjoin
import shutil
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/src/sphinxext/auto_label_figures.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

import os
from docutils import nodes

Expand Down
3 changes: 0 additions & 3 deletions docs/iris/src/sphinxext/custom_class_autodoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

from sphinx.ext import autodoc
from sphinx.ext.autodoc import *
from sphinx.util import force_decode
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/src/sphinxext/custom_data_autodoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

from sphinx.ext.autodoc import DataDocumenter, ModuleLevelDocumenter
try:
# Use 'object_description' in place of the former 'safe_repr' function.
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/src/sphinxext/gen_example_directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
Generate the rst files for the examples
'''

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

import os
import re
import shutil
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/src/sphinxext/gen_gallery.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
Generate a thumbnail gallery of examples.
'''

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

import os
import glob
import re
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/src/sphinxext/generate_package_rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

import os
import sys
import re
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

import matplotlib.pyplot as plt

import iris
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/src/userguide/plotting_examples/1d_simple.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

import matplotlib.pyplot as plt

import iris
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/src/userguide/plotting_examples/1d_with_legend.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

import matplotlib.pyplot as plt

import iris
Expand Down
3 changes: 0 additions & 3 deletions docs/iris/src/userguide/plotting_examples/brewer.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

import matplotlib.pyplot as plt
import numpy as np

Expand Down
3 changes: 0 additions & 3 deletions docs/iris/src/userguide/plotting_examples/cube_blockplot.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

import matplotlib.pyplot as plt

import iris
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@

from __future__ import (absolute_import, division, print_function)
from six.moves import (filter, input, map, range, zip) # noqa

import matplotlib.pyplot as plt

import iris
Expand Down
Loading