Skip to main content

Installation

Download command line utility: pip install dart-code-convention-fixer

Tutorial of app

To verify use:
python3 -m dartCCF verify - p /..
python3 -m dartCCF verify - d /..
python3 -m dartCCF verify - f /..

-p - project
-d - directory 
-f - file 

/.. - path to project, directory or file 

To fix use:

python3 -m dartCCF fix - p /..
python3 -m dartCCF fix - d /..
python3 -m dartCCF fix - f /..

-p - project
-d - directory 
-f - file 

/.. - path to project, directory or file 

Implemented:

STYLE

  • lines_longer_than_80_chars
  • always_use_package_imports
  • camel_case_types
  • camel_case_extensions
  • library_names
  • file_names
  • library_prefixes
  • constant_identifier_names
  • curly_braces_in_flow_control_structures

DOCUMENTATION

  • slash_for_doc_comments

USAGE

  • prefer_is_empty
  • prefer_is_not_empty
  • avoid_relative_lib_imports
  • prefer_adjacent_string_concatenation
  • prefer_interpolation_to_compose_strings
  • unnecessary_brace_in_string_interps
  • prefer_iterable_whereType
  • prefer_collection_literals
  • avoid_init_to_null
  • avoid_catching_errors
  • avoid_function_literals_in_foreach_calls # avoid
  • prefer_function_declarations_over_variables
  • unnecessary_new
  • unnecessary_const
  • avoid_catches_without_on_clauses

Metadata

Release files for dart-code-convention-fixer 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dart-code-convention-fixer 0.2.1
File Size Uploaded
dart-code-convention-fixer-0.2.1.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dart-code-convention-fixer 0.2.1
File Interpreter ABI Platform
dart_code_convention_fixer-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.2 kB

Release files / dart-code-convention-fixer-0.2.1.tar.gz

Download URL dart-code-convention-fixer-0.2.1.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9796b8cdb2ecfa0796ea1d096a059eb7f79cd298a6a432ed0f109deaf4e8f39a
BLAKE2b-256 checksum
How to use checksums
d1747760c2a3b5be6e9bcea33a1fa7e166dd3bed43b64ecdf6a9754bc35607a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.8.0 tqdm/4.53.0 CPython/3.8.5

Release files / dart_code_convention_fixer-0.2.1-py3-none-any.whl

Download URL dart_code_convention_fixer-0.2.1-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04fd2026672e59a2a025a382544a4549663d8b121fa4c9748d7283def0f759b4
BLAKE2b-256 checksum
How to use checksums
6d3b7c59d05a8eb5cc66d9dc8e0b34cab06bc078035241f6d96116dc36cb5d77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.8.0 tqdm/4.53.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page