resolve conflicts #7599
Annotations
1 error and 9 warnings
hlint
HLint failed with status: 1. Warning (8)
|
hlint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
hlint:
cabal-install/tests/IntegrationTests2.hs#L48
Warning in module Main: Use fewer imports ▫︎ Found: "import qualified Distribution.Client.CmdHaddockProject as CmdHaddockProject\nimport qualified Distribution.Client.CmdHaddockProject as CmdHaddockProject\n" ▫︎ Perhaps: "import qualified Distribution.Client.CmdHaddockProject as CmdHaddockProject\n"
|
hlint:
cabal-install/tests/IntegrationTests2.hs#L49
Warning in module Main: Use fewer imports ▫︎ Found: "import Distribution.Client.Config\n ( SavedConfig(savedGlobalFlags),\n createDefaultConfigFile,\n loadConfig )\nimport Distribution.Client.Config\n ( loadConfig,\n SavedConfig(savedGlobalFlags),\n createDefaultConfigFile )\n" ▫︎ Perhaps: "import Distribution.Client.Config\n ( SavedConfig(savedGlobalFlags),\n createDefaultConfigFile,\n loadConfig,\n loadConfig,\n SavedConfig(savedGlobalFlags),\n createDefaultConfigFile )\n"
|
hlint:
cabal-install/tests/IntegrationTests2.hs#L50
Warning in module Main: Use fewer imports ▫︎ Found: "import Distribution.Client.GlobalFlags\n ( GlobalFlags, defaultGlobalFlags, globalNix )\nimport Distribution.Client.GlobalFlags ( defaultGlobalFlags )\n" ▫︎ Perhaps: "import Distribution.Client.GlobalFlags\n ( GlobalFlags, defaultGlobalFlags, globalNix, defaultGlobalFlags )\n"
|
hlint:
cabal-install/tests/IntegrationTests2.hs#L55
Warning in module Main: Use fewer imports ▫︎ Found: "import Distribution.Client.Setup ( globalCommand, globalStoreDir )\nimport Distribution.Client.Setup ( globalCommand )\nimport Distribution.Client.Setup ( globalStoreDir )\n" ▫︎ Perhaps: "import Distribution.Client.Setup\n ( globalCommand, globalStoreDir, globalCommand, globalStoreDir )\n"
|
hlint:
cabal-install/tests/IntegrationTests2.hs#L56
Warning in module Main: Use fewer imports ▫︎ Found: "import Distribution.InstalledPackageInfo ( InstalledPackageInfo )\nimport Distribution.InstalledPackageInfo ( InstalledPackageInfo )\n" ▫︎ Perhaps: "import Distribution.InstalledPackageInfo\n ( InstalledPackageInfo, InstalledPackageInfo )\n"
|
hlint:
cabal-install/tests/IntegrationTests2.hs#L57
Warning in module Main: Use fewer imports ▫︎ Found: "import Distribution.ModuleName ( ModuleName )\nimport Distribution.ModuleName ( ModuleName )\n" ▫︎ Perhaps: "import Distribution.ModuleName ( ModuleName, ModuleName )\n"
|
hlint:
cabal-install/tests/IntegrationTests2.hs#L61
Warning in module Main: Use fewer imports ▫︎ Found: "import Distribution.Simple.Setup\n ( toFlag, HaddockFlags(..), defaultHaddockFlags )\nimport Distribution.Simple.Setup\n ( HaddockProjectFlags(..), defaultHaddockProjectFlags )\n" ▫︎ Perhaps: "import Distribution.Simple.Setup\n ( toFlag,\n HaddockFlags(..),\n defaultHaddockFlags,\n HaddockProjectFlags(..),\n defaultHaddockProjectFlags )\n"
|
hlint:
cabal-install/tests/IntegrationTests2.hs#L96
Warning in module Main: Use fewer imports ▫︎ Found: "import Data.Maybe ( fromJust )\nimport Data.Maybe ( fromJust )\n" ▫︎ Perhaps: "import Data.Maybe ( fromJust, fromJust )\n"
|