Skip to content

Commit

Permalink
fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishavlin committed Oct 26, 2023
1 parent 0f04e7a commit 893e84d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,3 @@ ignore =

[aliases]
test = pytest

[tool:pytest]
collect_ignore = ['setup.py']
2 changes: 1 addition & 1 deletion yt_idv/opengl_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@

from contextlib import ExitStack, contextmanager

import matplotlib.cm as cm
import numpy as np
import traitlets
import traittypes
from matplotlib import colormaps as cm
from OpenGL import GL

# Set up a mapping from numbers to names
Expand Down
2 changes: 1 addition & 1 deletion yt_idv/shader_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class Shader(traitlets.HasTraits):
GLValue(),
default_value=("none", "none", "none", "none"),
)
preprocessor_defs = traitlets.List(trait=traitlets.Tuple)
preprocessor_defs = traitlets.List(trait=traitlets.Tuple())

def _get_source(self, source):
if ";" in source:
Expand Down

0 comments on commit 893e84d

Please sign in to comment.