Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs1-24fa
project04
Commits
c66332d3
Commit
c66332d3
authored
8 months ago
by
Antonio Caceres
Browse files
Options
Download
Email Patches
Plain Diff
Add Pylance type ignore comments.
parent
58b6907a
master
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/pendulum.py
+8
-8
src/pendulum.py
src/swinging.py
+3
-3
src/swinging.py
with
11 additions
and
11 deletions
+11
-11
src/pendulum.py
View file @
c66332d3
...
...
@@ -4,14 +4,14 @@ Helper functions to make a pendulum.
"""
from
vpython
import
(
# type: ignore
box
,
color
,
cos
,
cylinder
,
vector
,
sin
,
sphere
,
textures
,
box
,
# type: ignore
color
,
# type: ignore
cos
,
# type: ignore
cylinder
,
# type: ignore
vector
,
# type: ignore
sin
,
# type: ignore
sphere
,
# type: ignore
textures
,
# type: ignore
)
from
support.types
import
Pendulum
,
VPythonColor
,
VPythonTexture
...
...
This diff is collapsed.
Click to expand it.
src/swinging.py
View file @
c66332d3
...
...
@@ -4,9 +4,9 @@ Helper functions and implementation of a Newton's cradle simulation.
"""
from
vpython
import
(
# type: ignore
cos
,
sin
,
vector
,
cos
,
# type: ignore
sin
,
# type: ignore
vector
,
# type: ignore
)
from
support.types
import
PendulumEntry
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help