Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pycodegen
pystencils
Commits
0810cb8c
Commit
0810cb8c
authored
3 months ago
by
Frederik Hennig
Browse files
Options
Downloads
Patches
Plain Diff
fix deprecation warning stacklevel. fix linting.
parent
71ab7480
No related branches found
No related tags found
1 merge request
!458
HIP Target and Platform
Pipeline
#75803
passed
3 months ago
Stage: Code Quality
Stage: Unit Tests
Stage: legacy_test
Stage: docs
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/pystencils/backend/emission/base_printer.py
+0
-1
0 additions, 1 deletion
src/pystencils/backend/emission/base_printer.py
src/pystencils/enums.py
+2
-1
2 additions, 1 deletion
src/pystencils/enums.py
with
2 additions
and
2 deletions
src/pystencils/backend/emission/base_printer.py
+
0
−
1
View file @
0810cb8c
...
...
@@ -57,7 +57,6 @@ from ..extensions.foreign_ast import PsForeignExpression
from
..memory
import
PsSymbol
from
..constants
import
PsConstant
from
...types
import
PsType
from
...codegen
import
Target
if
TYPE_CHECKING
:
from
...codegen
import
Kernel
...
...
This diff is collapsed.
Click to expand it.
src/pystencils/enums.py
+
2
−
1
View file @
0810cb8c
...
...
@@ -5,7 +5,8 @@ from warnings import warn
warn
(
"
Importing anything from `pystencils.enums` is deprecated and the module will be removed in pystencils 2.1.
"
"
Import from `pystencils` instead.
"
,
FutureWarning
FutureWarning
,
stacklevel
=
2
,
)
Target
=
_Target
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment