Skip to content

Commit dd70087

Browse files
committed
Add basic code quality checks with pre-commit
1 parent 4a76288 commit dd70087

File tree

165 files changed

+191
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+191
-1
lines changed

.pre-commit-config.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.5.0
4+
hooks:
5+
# TODO: activate the remaining checks and commit the large diff later
6+
- id: check-added-large-files
7+
- id: check-case-conflict
8+
- id: check-executables-have-shebangs
9+
- id: check-json
10+
- id: check-merge-conflict
11+
- id: check-symlinks
12+
- id: check-xml
13+
- id: check-yaml
14+
- id: debug-statements
15+
# - id: end-of-file-fixer
16+
- id: fix-encoding-pragma
17+
# - id: trailing-whitespace
18+
19+
# - repo: https://gitlab.com/pycqa/flake8
20+
# rev: 3.7.9
21+
# hooks:
22+
# - id: flake8
23+
# name: flake8 under python2
24+
# language_version: python2
25+
# exclude: ^doc/source/sphinxext/
26+
# - id: flake8
27+
# name: flake8 under python3
28+
# language_version: python3
29+
# exclude: ^doc/source/sphinxext/

capsul/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# -*- coding: utf-8 -*-
12
from .info import __version__

capsul/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12

23
from .process import runprocess
34

capsul/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/attributes/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
# -*- coding: utf-8 -*-
12
''' capsul.attributes module contains the infrastructure and utility functions needed to define and use a completion system in CAPSUL processes and pipelines.
23
'''

capsul/attributes/attributes_factory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2016
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/attributes/attributes_schema.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
''' A schema defines attrinbutes used within a completion framework
23
34
Classes

capsul/attributes/completion_engine.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
'''
23
Completion system for Capsul
34

capsul/attributes/completion_engine_factory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
'''
23
Instantiate a default :class:`~capsul.attributes.completion_engine.ProcessCompletionEngine`
34

capsul/attributes/completion_engine_iteration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2016
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/attributes/test/test_attributed_process.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12

23
from __future__ import print_function
34

capsul/attributes/test/test_fom_process.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12

23
from __future__ import print_function
34

capsul/engine/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
'''
23
This module defines the main API to interact with Capsul processes.
34
In order to execute a process, it is mandatory to have an instance of

capsul/engine/database.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from __future__ import absolute_import
23
import os.path as osp
34

capsul/engine/database_json.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from __future__ import absolute_import
23
import os
34
import os.path as osp
@@ -70,7 +71,10 @@ def set_path_metadata(self, path, metadata, named_directory=None):
7071
path = metadata['path']
7172
named_directory = metadata['named_directory']
7273

73-
self.json_dict.setdefault('path_metadata', {})[(named_directory, path)] = doc
74+
# ylep 2020-02-27: fixed the next line to assign metadata (previously a
75+
# nonexistent 'doc' variable was assigned). I hope this is correct.
76+
self.json_dict.setdefault('path_metadata', {})[
77+
(named_directory, path)] = metadata
7478
self.modified = True
7579

7680

capsul/engine/database_populse.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from __future__ import absolute_import
23
import os.path as osp
34
import six

capsul/engine/module/attributes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
'''
23
Attributes completion config module
34

capsul/engine/module/axon.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12

23
'''
34
Configuration module which links with `Axon <http://brainvisa.info/axon/user_doc>`_

capsul/engine/module/fom.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/engine/module/fsl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from __future__ import absolute_import
23
import os
34
import os.path as osp

capsul/engine/module/matlab.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from __future__ import absolute_import
23
import os
34
import weakref

capsul/engine/module/spm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from __future__ import absolute_import
23

34
import glob

capsul/engine/test/test_capsul_engine.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from __future__ import print_function
23

34
from __future__ import absolute_import

capsul/in_context/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
'''
23
The ``in_context`` module provides functions to call some external software from Capsul processes (SPM, FSL, etc.). The main functions perform calls to the software in a similar way as ``subprocess`` functions (:class:`~subprocess.Popen`, :func:`~subprocess.call`, :func:`~subprocess.check_call` and :func:`subprocess.check_output`). These functions are only valid when the software environment *context* is activated.
34
Activating the context is normally done using the ``with`` statement on a :class:`~capsul.engine.CapsulEngine` object::

capsul/in_context/fsl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
'''
23
Specific subprocess-like functions to call FSL taking into account
34
configuration stored in ExecutionContext. To functions and class in

capsul/in_context/nipype.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from __future__ import absolute_import
23

34
from __future__ import print_function

capsul/in_context/spm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
'''
23
Specific subprocess-like functions to call SPM taking into account
34
configuration stored in ExecutionContext. To functions and class in

capsul/info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
# -*- coding: utf-8 -*-
12
''' This module is a placeholder for custom nodes types. Custom nodes can be used as pipeline nodes, do not represent a process (a physical job in a computing resource), but can help setting things up in a pipeline structure or parameters.
23
'''

capsul/pipeline/custom_nodes/cv_node.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
'''
23
:class:`CrossValidationFoldNode`
34
--------------------------------

capsul/pipeline/custom_nodes/loo_node.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
'''
23
:class:`LeaveOneOutNode`
34
------------------------

capsul/pipeline/custom_nodes/map_node.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
'''
23
:class:`MapNode`
34
------------------------

capsul/pipeline/custom_nodes/reduce_node.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
'''
23
:class:`ReduceNode`
34
------------------------

capsul/pipeline/custom_nodes/strcat_node.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
'''
23
:class:`StrCatNode`
34
-------------------

capsul/pipeline/custom_nodes/strconv.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
'''
23
:class:`CrossValidationFoldNode`
34
--------------------------------

capsul/pipeline/pipeline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
''' Pipeline main class module
23
34
Classes

capsul/pipeline/pipeline_construction.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/pipeline_nodes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/pipeline_tools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
'''
23
Miscelaneous pipeline handling utility functions
34

capsul/pipeline/pipeline_workflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
"""Capsul Pipeline conversion into soma-workflow workflow.
23
34
Standard use case::

capsul/pipeline/process_iteration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/python_export.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/test/__init__.py

100755100644
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/test/test_activation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/test/test_complex_pipeline_activations.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from __future__ import print_function
23

34
from __future__ import absolute_import

capsul/pipeline/test/test_custom_nodes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from __future__ import print_function
23

34
from __future__ import absolute_import

capsul/pipeline/test/test_double_switch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/test/test_iterative_process.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/test/test_optional_output_switch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/test/test_pipeline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/test/test_pipeline_parameters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12

23
from __future__ import print_function
34

capsul/pipeline/test/test_pipeline_with_temp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/test/test_pipeline_workflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/test/test_proc_with_outputs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/test/test_process_iteration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/test/test_qc_nodes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/test/test_switch_optional_output.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/test/test_switch_pipeline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/test/test_switch_subpipeline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/test/test_temporary.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/topological_sort.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/pipeline/xml.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
'''
23
XML IO for pipelines
34

capsul/plugins/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/process/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/process/nipype_process.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/process/process.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
''' Process main class and infrastructure
23

34
Classes

capsul/process/test/test_load_from_description.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# Capsul - Copyright (C) CEA, 2014
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/process/test/test_nipype_wrap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/process/test/test_runprocess.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# Capsul - Copyright (C) CEA, 2019
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/process/test/test_traits.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# Capsul - Copyright (C) CEA, 2014
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/process/xml.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

capsul/qt_apps/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
##########################################################################
23
# CAPSUL - Copyright (C) CEA, 2013
34
# Distributed under the terms of the CeCILL-B license, as published by

0 commit comments

Comments
 (0)