Skip to content

Commit

Permalink
SCons: Add unobtrusive type hints in SCons files
Browse files Browse the repository at this point in the history
  • Loading branch information
Repiteo committed Sep 25, 2024
1 parent 0a9d8f0 commit 9f9ee0c
Show file tree
Hide file tree
Showing 173 changed files with 290 additions and 6 deletions.
1 change: 1 addition & 0 deletions SConstruct
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

EnsureSConsVersion(3, 1, 2)
EnsurePythonVersion(3, 6)
Expand Down
1 change: 1 addition & 0 deletions core/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions core/config/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions core/crypto/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions core/debugger/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions core/error/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions core/extension/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions core/input/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions core/io/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions core/math/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions core/object/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions core/os/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions core/string/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions core/templates/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions core/variant/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/alsa/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/alsamidi/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/backtrace/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/coreaudio/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/coremidi/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/d3d12/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

import os
from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions drivers/egl/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/gl_context/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/gles3/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/gles3/effects/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/gles3/environment/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/gles3/shaders/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/gles3/shaders/effects/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/gles3/storage/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/metal/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/png/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/pulseaudio/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/unix/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/vulkan/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/wasapi/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/windows/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/winmidi/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions drivers/xaudio2/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions editor/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions editor/debugger/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions editor/debugger/debug_adapter/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions editor/export/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions editor/gui/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions editor/icons/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions editor/import/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions editor/plugins/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions editor/plugins/gizmos/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions editor/plugins/tiles/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions editor/project_manager/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions editor/themes/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
1 change: 1 addition & 0 deletions main/SCsub
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

Expand Down
Loading

0 comments on commit 9f9ee0c

Please sign in to comment.