Skip to content

Releases: Takishima/flake8-secure-coding-standard

flake8-secure-coding-standard v1.4.1

07 Jan 18:31
8acfe09
Compare
Choose a tag to compare

Changed

  • Bump maximal allowed flake8 version to v7.x

Repository

  • Replace most Python pre-commit hooks with ruff
  • Update release drafting GitHub workflow
  • Modify pull requests workflow to automatically update CHANGELOG file if it was created by pre-commit.ci
  • Update GitHub Action github/codeql-action from v2 to v3
  • Update GitHub Action stefanzweifel/git-auto-commit-action from v4 to v5
  • Update thomaseizinger/create-pull-request GitHub Action to v1.3.1
  • Update Lucas-C/pre-commit-hooks hook to v1.5.4
  • Update asottile/blacken-docs hook to v1.16.0
  • Update astral-sh/ruff-pre-commit to v0.1.9
  • Update codespell-project/codespell hook to v2.2.6
  • Update pre-commit/pre-commit-hooks hook to v4.5.0
  • Update yamllint hook to v1.33.0

flake8-secure-coding-standard v1.4.0

06 Feb 22:10
61134c9
Compare
Choose a tag to compare

Changed

  • Changed minimum Python version to 3.8.X
  • Add support for flake8 6.0.0+

Updated

  • Update GitHub release publishing workflow
  • Added some more pre-commit hooks:
    • doc8
    • codespell
    • yamllint
    • blacken-docs
    • pyupgrade

Repository

  • Remove soon to be deprecated version in GitHub workflows
  • Update thomaseizinger/keep-a-changelog-new-release GitHub action to v1.3.0
  • Update Lucas-C/pre-commit-hooks hook to v1.4.2
  • Update asottile/pyupgrade to v3.2.0
  • Update black hook to v22.12.0
  • Update blacken-docs hook to v1.13.0
  • Update codespell hook to v2.2.2
  • Update flake8 hook to v5.0.4
  • Update isort hook to v5.12.0
  • Update pre-commit/mirrors-pylint to v3.0.0a5
  • Update pre-commit/pre-commit-hooks to v4.4.0
  • Update pyupgrade hook to v3.3.1
  • Update yamllint hook to v1.29.0

flake8-secure-coding-standard v1.3.0

02 Jun 07:16
8f6509e
Compare
Choose a tag to compare

Added

  • Added SCS112 to avoid using os.open() with unsafe permissions
  • Added SCS113 to avoid using pickle.load() and pickle.loads()
  • Added SCS114 to avoid using marshal.load() and marshal.loads()
  • Added SCS115 to avoid using shelve.open()
  • Added SCS116 to avoid using os.mkdir and os.makedirs with unsafe file permissions
  • Added SCS117 to avoid using os.mkfifo with unsafe file permissions
  • Added SCS118 to avoid using os.mknod with unsafe file permissions
  • Added SCS119 to avoid using os.chmod with unsafe file permissions (W ^ X for group and others)

Fixed

  • Fix typos found by codespell
  • Fix issues discovered by yamllint

Repository

  • Add Python 3.10 to the list of configurations for testing
  • Add codespell pre-commit hook
  • Add yamllint configuration file and pre-commit hook

flake8-secure-coding-standard v1.2.2

24 May 09:22
80325f2
Compare
Choose a tag to compare

Updated

  • Update GitHub release publishing workflow

Fixed

  • Fix issue with recognizing YAML load function calls (thanks to @D-Bhatta)

Repository

  • Update dangoslen/changelog-enforcer GitHub action to v3
  • Update isort hook to v5.10.1
  • Update black hook to v22.3.0
  • Update check-manifest hook to v0.48
  • Update flake8 hook to v4.0.1
  • Update Lucas-C/pre-commit-hooks hook to v1.2.0
  • Update pre-commit/pre-commit-hooks to v4.2.0
  • Update thomaseizinger/create-pull-request GitHub action to v1.2.2
  • Update thomaseizinger/keep-a-changelog-new-release GitHub action to v1.3.0
  • Update GitHub's CodeQL action to v2

flake8-secure-coding-standard v1.2.1

19 Jul 13:08
aa8274a
Compare
Choose a tag to compare
  • Reworded SCS103 and extend it to include a few more cases:
    • subprocess.getoutput()
    • subprocess.getstatusoutput()
    • asyncio.create_subprocess_shell()
    • loop.subprocess_shell()

flake8-secure-coding-standard v1.2.0

19 Jul 10:19
df2eb17
Compare
Choose a tag to compare
  • Added SCS110 to avoid using os.popen() as it internally uses subprocess.Popen with shell=True
  • Added SCS111 to avoid using shlex.quote() on non-POSIX platforms.

flake8-secure-coding-standard v1.1.0

02 Jul 16:00
a734541
Compare
Choose a tag to compare

Added

  • Added SCS109 to prefer os.open() to the builtin open when in writing mode

Repository

  • Update pre-commit configuration

flake8-secure-coding-standard v1.0.1

21 Jun 09:46
2780d6f
Compare
Choose a tag to compare

Updated

  • Updated error messages to be more in line with README
  • Updated README

flake8-secure-coding-standard v1.0.0

20 Jun 23:24
75273db
Compare
Choose a tag to compare