File tree Expand file tree Collapse file tree 7 files changed +2
-16
lines changed
Expand file tree Collapse file tree 7 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ module Python.Inline.Literal
1212 , fromPy'
1313 ) where
1414
15- import Control.Concurrent
16- import Control.Exception
1715import Control.Monad
1816import Control.Monad.IO.Class
1917import Control.Monad.Trans.Class
@@ -24,7 +22,6 @@ import Data.Word
2422import Data.Foldable
2523import Foreign.Ptr
2624import Foreign.C.Types
27- import Foreign.Marshal.Alloc
2825import Foreign.Storable
2926
3027import Language.C.Inline qualified as C
Original file line number Diff line number Diff line change @@ -14,14 +14,11 @@ module Python.Internal.EvalQQ
1414 , unindent
1515 ) where
1616
17- import Control.Exception
1817import Control.Monad.IO.Class
1918import Control.Monad.Trans.Class
2019import Control.Monad.Trans.Cont
2120import Data.Char
2221import Foreign.C.Types
23- import Foreign.C.String
24- import Foreign.Marshal.Alloc
2522import Foreign.Ptr
2623import Foreign.Storable
2724import System.Exit
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ module Python.Internal.Program
1414 , withPyWCString
1515 ) where
1616
17- import Control.Exception
1817import Control.Monad.Trans.Cont
1918import Data.Coerce
2019import Foreign.Ptr
Original file line number Diff line number Diff line change @@ -10,13 +10,8 @@ module Python.Types
1010 ) where
1111
1212import Data.Coerce
13-
1413import Foreign.Ptr
15- import Foreign.ForeignPtr
16- import Language.C.Inline qualified as C
17-
1814import GHC.ForeignPtr
19-
2015import Python.Internal.Types
2116
2217unsafeWithPyObject :: forall a . PyObject -> (Ptr PyObject -> Py a ) -> Py a
Original file line number Diff line number Diff line change 11-- |
22module TST.Callbacks (tests ) where
33
4- import Control.Concurrent
54import Test.Tasty
65import Test.Tasty.HUnit
76import Python.Inline
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ tests = testGroup "Run python"
1818 x
1919 |]
2020 -- Visible
21- _ <- [py_ | x |]
22- [pye | x |]
21+ [py_ | x |]
22+ _ <- [pye | x |]
2323 [pymain |
2424 x
2525 del x
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ module TST.ToPy (tests) where
33
44import Test.Tasty
55import Test.Tasty.HUnit
6- import Python.Inline
76import Python.Inline.QQ
87
98tests :: TestTree
You can’t perform that action at this time.
0 commit comments