Commit Graph

72 Commits

Author SHA1 Message Date
Benjamin Drung
33a7f8b2ec Fix typos
lintian found several spelling errors.

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
2017-05-24 12:50:29 +02:00
Pedro Algarvio
49da135abd
Don't use our own six dictionary fixes in this branch 2017-02-22 17:18:55 +00:00
Thomas S Hatch
c7575c992e update lint with new thorium builtins 2016-02-03 18:34:17 -07:00
Mike Place
7e540e2c35 Adding new dunders to pylintrcs
Make __serializers__ known to pylint. Refs #28926 and #28906
2015-11-18 11:39:23 -07:00
C. R. Oldham
72032650b8 Add __proxy__ to the list of builtins. 2015-10-12 08:34:36 -06:00
Pedro Algarvio
171e022331 Start checking code to enforce a minimum python version support 2015-05-04 15:25:38 +01:00
Colton Myers
cca8ddc886 Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
Conflicts:
    .pylintrc
    .testing.pylintrc
    salt/auth/pam.py
    salt/modules/win_status.py
    salt/utils/network.py
    salt/utils/schedule.py
    tests/unit/renderers/gpg_test.py
    tests/unit/states/boto_secgroup.py
2015-04-29 12:01:52 -06:00
Pedro Algarvio
ee9d6ed6af Start checking code to enforce a minimum python version support 2015-04-26 10:40:35 +01:00
Colton Myers
000de95974 Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
Conflicts:
    .pylintrc
    doc/ref/runners/all/salt.runners.nacl.rst
    doc/topics/cloud/config.rst
    salt/cli/salt.py
    salt/client/mixins.py
    salt/client/ssh/__init__.py
    salt/loader.py
    salt/minion.py
    salt/modules/cassandra_cql.py
    salt/modules/gpg.py
    salt/modules/grains.py
    salt/modules/iptables.py
    salt/modules/yumpkg.py
    salt/netapi/rest_cherrypy/app.py
    salt/renderers/pyobjects.py
    salt/returners/mysql.py
    salt/runners/jobs.py
    salt/state.py
    salt/states/file.py
    salt/states/service.py
    salt/utils/minions.py
    tests/integration/__init__.py
    tests/integration/netapi/rest_tornado/test_app.py
    tests/integration/states/cmd.py
2015-04-16 12:15:44 -06:00
Matthew Williams
00f170bfb4 make pylint happy 2015-04-13 19:33:52 +00:00
Colton Myers
0b7ac988cc Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
Conflicts:
    .pylintrc
    salt/beacons/service.py
    salt/beacons/sh.py
    salt/modules/cassandra_cql.py
    salt/returners/cassandra_cql_return.py
2015-04-01 14:22:33 -06:00
Colton Myers
1e3160f21c Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2 2015-04-01 14:17:35 -06:00
Pedro Algarvio
ca615cd92d Ignore W1202 (logging-format-interpolation)
"Use % formatting in logging functions but pass the % parameters as arguments"
2015-03-31 19:21:30 +01:00
Pedro Algarvio
a1586ef4f6 Ignore E8731 - do not assign a lambda expression, use a def 2015-03-31 19:13:58 +01:00
Colton Myers
ed51f2bb7c Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2 2015-03-31 11:25:27 -06:00
Pedro Algarvio
38f95ec4bb Disable PEP8 E402(E8402). Module level import not at top of file. 2015-03-31 09:41:04 +01:00
Pedro Algarvio
62f868a076 Merge branch '2015.2' into develop 2015-02-27 10:02:47 +00:00
Pedro Algarvio
bd195af136 Add __salt_system_encoding__ to the known globals 2015-02-24 13:08:14 +00:00
Pedro Algarvio
dd17598afb Add W1202(logging-format-interpolation) to disabled PyLint checks 2015-02-10 16:39:53 +00:00
Pedro Algarvio
b6101f7cb8 Disable the modernize pylint plugin dict fixes 2015-02-10 00:46:51 +00:00
Pedro Algarvio
f0f3fb2de6 Add __instance_id__ as a known global variable 2015-01-30 22:27:20 +00:00
Pedro Algarvio
a912d0b268 Fix the __jid_event__ removed during the rebase 2015-01-30 22:27:08 +00:00
Pedro Algarvio
2344ead46f The string module is not deprecated, only some functions of it. 2015-01-30 22:27:08 +00:00
Pedro Algarvio
f51672ac30 Update PyLint RC files to support 1.4.0 options 2015-01-30 22:27:00 +00:00
Pedro Algarvio
c3e662db7c Make use of the smartup PyLint plugin. 2015-01-30 22:25:20 +00:00
Pedro Algarvio
31da005e02 Update pylintrc to load the python 3 modernize plugin 2015-01-30 22:25:01 +00:00
rallytime
4648530a50 Fix pylint on develop 2015-01-30 12:56:52 -07:00
rallytime
9898fcf613 Merge branch '2015.2' into 'develop'
Conflicts:
	.gitignore
	.pylintrc
	.testing.pylintrc
	salt/client/mixins.py
	salt/cloud/clouds/msazure.py
	salt/config.py
	salt/modules/mount.py
	salt/runners/doc.py
	salt/utils/event.py
	salt/utils/reactor.py
2015-01-29 17:24:04 -07:00
Thomas Jackson
4df4a297cb Remove __progress__ from lint checks, and add in jid_event 2015-01-28 18:43:43 -08:00
rallytime
dc23823897 Merge branch '2014.7' into '2015.2'
Conflicts:
	salt/modules/localemod.py
2015-01-27 13:24:14 -07:00
Colton Myers
ce9d2cb6cb Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2
Conflicts:
	.pylintrc
	.testing.pylintrc
	salt/states/file.py
	salt/utils/__init__.py
2015-01-26 15:53:05 -07:00
Thomas S Hatch
efa3bd615a Merge pull request #20048 from s0undt3ch/features/use-saltpylint
Make use of the SaltPyLint package separated from SaltTesting
2015-01-26 15:37:09 -07:00
Thomas S Hatch
074c408a51 Add __instance_id__ to pylint checks as this has been added to
the active state runs for state run tracking
2015-01-26 15:22:18 -07:00
Pedro Algarvio
472bf88d47 Make use of the SaltPyLint package separated from SaltTesting 2015-01-26 02:10:30 +00:00
Thomas Jackson
1e1107272a Remove __progress__ from lint checks, and add in jid_event 2015-01-10 16:31:59 -08:00
Pedro Algarvio
10a7ead2df Add file perms pylint plugin specific settings 2015-01-06 21:23:19 -07:00
Pedro Algarvio
8976d00bbe Enable file permissions lint checker.
This will allow us to confirm that no modules are added to salt with the
wrong file permissions. Default file permissions is 0644.
2015-01-06 21:23:19 -07:00
Thomas S Hatch
6dd8f40c7b Merge pull request #19073 from s0undt3ch/features/file-perms-lint-2014.7
Enable file permissions lint checker
2014-12-18 09:41:03 -07:00
Pedro Algarvio
2e9026395f Add file perms pylint plugin specific settings 2014-12-18 05:35:19 +00:00
Pedro Algarvio
6e39a1e678 Enable file permissions lint checker.
This will allow us to confirm that no modules are added to salt with the
wrong file permissions. Default file permissions is 0644.
2014-12-18 05:35:19 +00:00
Pedro Algarvio
fdc39d0413 Remove deprecated options 2014-12-08 22:24:19 +00:00
Pedro Algarvio
e09750e97d Ignore the locally enabled/disabled pylint checks 2014-12-01 03:24:41 +00:00
Pedro Algarvio
1dbcae31b9 Ignore the locally enabled/disabled pylint checks 2014-11-28 15:50:40 +00:00
Thomas S Hatch
47a1408d09 fix linter per #17725 2014-11-14 09:50:14 -07:00
Pedro Algarvio
852f47ea19 Remove deprecated and ignored PyLint options 2014-11-13 01:49:43 +00:00
Thomas S Hatch
16584043ff add progress to builtins to handle new runner stuff 2014-11-11 09:57:37 -07:00
Thomas S Hatch
3689c0608e Add __master_opts to pylintrc exclusions 2014-09-23 21:30:18 -06:00
Pedro Algarvio
9fb4a2e7c3 PyLint ignore C0330 (bad-continuation) 2014-05-29 11:39:00 +01:00
Pedro Algarvio
57701e0a75 Update .pylintrc and .testing.pylintrc to new max line length 2014-03-21 21:04:02 +00:00
Pedro Algarvio
bdcf244155 __states__ is also a Salt global variable 2014-02-24 20:11:59 +00:00