Skip to content
Snippets Groups Projects
Commit 83ea3ee9 authored by Tadej Novak's avatar Tadej Novak Committed by Edward Moyse
Browse files

Add autopep8 support to Athena

Add autopep8 support to Athena
parent c3d38e04
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,8 @@ execute_process(
# flake8 wrapper
configure_file( "${CMAKE_CURRENT_LIST_DIR}/flake8_wrapper.sh.in" "${ATLAS_IDE_PREFIX}flake8" @ONLY )
# autopep8 wrapper
configure_file( "${CMAKE_CURRENT_LIST_DIR}/autopep8_wrapper.sh.in" "${ATLAS_IDE_PREFIX}autopep8" @ONLY )
# gdb wrappers
configure_file( "${CMAKE_CURRENT_LIST_DIR}/gdb_wrapper.sh.in" "${ATLAS_IDE_PREFIX}gdb_wrapper" @ONLY )
......
#!/bin/bash
"@CMAKE_BINARY_DIR@@CMAKE_FILES_DIRECTORY@/atlas_build_run.sh" "@Python_EXECUTABLE@" -m autopep8 "$@"
......@@ -6,8 +6,10 @@
],
"remote.SSH.lockfilesInTmp": true,
"gitlab.instanceUrl": "https://gitlab.cern.ch",
"python.pythonPath": "${workspaceFolder}/../build/ide_python",
"python.defaultInterpreterPath": "${workspaceFolder}/../build/ide_python",
"python.envFile": "${workspaceFolder}/../build/env.txt",
"python.formatting.provider": "autopep8",
"python.formatting.autopep8Path": "${workspaceFolder}/../build/ide_autopep8",
"python.linting.enabled": true,
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
......
......@@ -33,6 +33,7 @@ find_package( VDT )
find_package( requests )
find_package( libffi )
find_package( gl2ps )
find_package( autopep8 )
# Compile flag(s).
add_definitions( -DXAOD_ANALYSIS )
......
......@@ -38,6 +38,7 @@ find_package( TBB )
find_package( TIFF )
find_package( libffi )
find_package( gl2ps )
find_package( autopep8 )
# Disable flake8.
set( ATLAS_FLAKE8 true # <- this is the shell builtin `true`
......
......@@ -42,6 +42,7 @@ find_package( Frontier_Client )
find_package( VDT )
find_package( libffi )
find_package( gl2ps )
find_package( autopep8 )
# Set up where to find the AthenaPoolUtilitiesTest CMake code.
set( AthenaPoolUtilitiesTest_DIR
......
......@@ -35,6 +35,7 @@ find_package( AIDA )
find_package( VDT )
find_package( libffi )
find_package( gl2ps )
find_package( autopep8 )
# Set the project into "GENERATIONBASE mode".
set( GENERATIONBASE TRUE CACHE BOOL
......
......@@ -32,6 +32,7 @@ find_package( VDT )
find_package( TIFF )
find_package( libffi )
find_package( gl2ps )
find_package( autopep8 )
# Set the project into "SIMULATIONBASE mode".
set( SIMULATIONBASE TRUE CACHE BOOL
......
......@@ -100,6 +100,7 @@ find_package( auth_get_sso_cookie )
find_package( heaptrack )
find_package( libffi )
find_package( gl2ps )
find_package( autopep8 )
# (Hopefully) Temporary global dependence on cuDNN, as described
# in ATLASRECTS-6680.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment