dateutil / dateutil
Showing 1 of 1 files from the diff.

@@ -1664,16 +1664,15 @@
Loading
1664 1664
                    name = "RRULE"
1665 1665
                    value = line
1666 1666
                else:
1667 +
                    if line.count(':') > 1:
1668 +
                        raise ValueError("Malformed rule: " + line)
1667 1669
                    name, value = line.split(':', 1)
1668 1670
                parms = name.split(';')
1669 1671
                if not parms:
1670 1672
                    raise ValueError("empty property name")
1671 1673
                name = parms[0]
1672 1674
                parms = parms[1:]
1673 -
                valid_name_pattern = re.compile("^[A-Z]+$")
1674 -
                if not valid_name_pattern.match(name):
1675 -
                    raise ValueError("Malformed rule: " + line)
1676 -
                elif name == "RRULE":
1675 +
                if name == "RRULE":
1677 1676
                    for parm in parms:
1678 1677
                        raise ValueError("unsupported RRULE parm: "+parm)
1679 1678
                    rrulevals.append(value)
Files Coverage
dateutil 96.01%
Project Totals (32 files) 96.01%
macos-latest:pypy2
Build #185242370 -
windows-latest:pypy2
Build #185242370 -
windows-latest:pypy3
Build #185242370 -
wpvgmfn0d447xuug
TOXENV=py35
macos-latest:pypy3
Build #185242370 -
7k8shprl2jg0ml45
TOXENV=py36
br5xf10lase640yb
TOXENV=py37
3e68wpd818ykn2it
TOXENV=py37
p6i04yhca3du7gru
TOXENV=py38
4avnpvohtersb7up
TOXENV=py38
2233.4
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux
TOXENV=py
2233.1
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
TOXENV=py
2233.5
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
TOXENV=py
2233.2
TRAVIS_PYTHON_VERSION=3.4
TRAVIS_OS_NAME=linux
TOXENV=py
ubuntu-latest:pypy3
Build #185242370 -
2233.3
TRAVIS_PYTHON_VERSION=3.5
TRAVIS_OS_NAME=linux
TOXENV=py
2233.6
TRAVIS_PYTHON_VERSION=3.8
TRAVIS_OS_NAME=linux
TOXENV=py
ubuntu-latest:pypy2
Build #185242370 -
2233.11
TRAVIS_PYTHON_VERSION=nightly
TRAVIS_OS_NAME=linux
TOXENV=py
r5ddhb65f7e0g3q1
TOXENV=py27
1
coverage:
2
  status:
3
    patch: false
4
    changes: false
5
    project:
6
      default:
7
        target: '80'
8

9
comment: false
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading