##// END OF EJS Templates
setup pip cache
Matthias Bussonnier -
Show More
@@ -50,6 +50,7 b' jobs:'
50 uses: actions/setup-python@v2
50 uses: actions/setup-python@v2
51 with:
51 with:
52 python-version: ${{ matrix.python-version }}
52 python-version: ${{ matrix.python-version }}
53 cache: pip
53 - name: Install latex
54 - name: Install latex
54 if: runner.os == 'Linux' && matrix.deps == 'test_extra'
55 if: runner.os == 'Linux' && matrix.deps == 'test_extra'
55 run: sudo apt-get -yq -o Acquire::Retries=3 --no-install-suggests --no-install-recommends install texlive dvipng
56 run: sudo apt-get -yq -o Acquire::Retries=3 --no-install-suggests --no-install-recommends install texlive dvipng
@@ -62,7 +62,6 b' if resource is not None and hasattr(resource, "getrusage"):'
62 Similar to clock(), but return a tuple of user/system times."""
62 Similar to clock(), but return a tuple of user/system times."""
63 return resource.getrusage(resource.RUSAGE_SELF)[:2]
63 return resource.getrusage(resource.RUSAGE_SELF)[:2]
64
64
65
66 else:
65 else:
67 # There is no distinction of user/system time under windows, so we just use
66 # There is no distinction of user/system time under windows, so we just use
68 # time.perff_counter() for everything...
67 # time.perff_counter() for everything...
@@ -103,3 +103,6 b' pygments.lexers ='
103 ignore_patterns =
103 ignore_patterns =
104 IPython/core/tests,
104 IPython/core/tests,
105 IPython/testing
105 IPython/testing
106
107 [tool.black]
108 exclude = 'timing\.py'
General Comments 0
You need to be logged in to leave comments. Login now